Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
136 lines (133 sloc) 4.45 KB
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/ManifestoSchema",
"definitions": {
"ManifestoSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"politicalParty": {
"description": "Name of the political party",
"type": "string"
},
"title": {
"description": "Title of the electoral program",
"type": "string"
},
"publication_date": {
"description": "Publication date of the electoral program",
"type": "string"
},
"election_date": {
"description": "Election date of the electoral program",
"type": "string"
},
"type_of_elections": {
"description": "Type of election",
"type": "string"
},
"geographical_area": {
"description": "Geographic area that covers the election process",
"type": "string"
},
"standard_version": {
"description": "Version of the standard used to structure the manifesto",
"type": "string"
},
"URI": {
"description": "URI or URL that links to the electoral program",
"type": "string",
"format": "uri"
},
"created_by": {
"type": "string"
},
"pages": {
"type": "integer"
},
"num_proposals": {
"description": "Number of proposals included in the manifesto",
"type": "integer"
},
"proposals": {
"type": "array",
"items": {
"$ref": "#/definitions/Proposal"
}
}
},
"required": [
"politicalParty",
"title",
"publication_date",
"election_date",
"type_of_elections",
"geographical_area",
"standard_version",
"URI",
"created_by",
"pages",
"num_proposals",
"proposals"
],
"title": "ManifestoSchema"
},
"Proposal": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer"
},
"body": {
"decription":"Body of the proposal",
"type": "string"
},
"topics": {
"decription":"Set of topics defined by the group Open Manifesto Project.",
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"decription":"Set of proposal tags/labels",
"type": "array",
"items": {
"type": "string"
}
},
"priority": {
"decription":"Priority of the proposal Low/Medium/High/NA",
"type": "string"
},
"budget": {
"decription":"If the proposal includes economic value estimation",
"type": "boolean"
},
"non-negotiable": {
"decription":"If the proposal is not negotiable",
"type": "boolean"
},
"agents": {
"decription":"Set of subjects or organizations that are included or mentioned in the proposal",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"body",
"topic",
"tags",
"priority",
"budget",
"non-negotiable",
"agents"
],
"title": "Proposal"
}
}
}
You can’t perform that action at this time.