Last active
October 27, 2017 07:04
-
-
Save Stephen-Gates/845c634f80bb7dc7f1e4366f6e47f467 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "fields": [{ | |
| "name": "id", | |
| "type": "string", | |
| "constraints": { | |
| "required": true, | |
| "unique": true | |
| } | |
| }, | |
| { | |
| "name": "domain_content", | |
| "type": "boolean", | |
| "trueValues": ["TRUE"], | |
| "falseValues": ["FALSE"], | |
| "description": "Open Content License", | |
| "constraints": { | |
| "required": true | |
| } | |
| }, | |
| { | |
| "name": "domain_data", | |
| "type": "boolean", | |
| "trueValues": ["TRUE"], | |
| "falseValues": ["FALSE"], | |
| "description": "Open Data License", | |
| "constraints": { | |
| "required": true | |
| } | |
| }, | |
| { | |
| "name": "domain_software", | |
| "type": "boolean", | |
| "trueValues": ["TRUE"], | |
| "falseValues": ["FALSE"], | |
| "description": "Open Software License", | |
| "constraints": { | |
| "required": true | |
| } | |
| }, | |
| { | |
| "name": "family", | |
| "type": "string" | |
| }, | |
| { | |
| "name": "is_generic", | |
| "type": "boolean" | |
| }, | |
| { | |
| "name": "maintainer", | |
| "type": "string" | |
| }, | |
| { | |
| "name": "od_conformance", | |
| "type": "string", | |
| "description": "Conforming to the Open Definition", | |
| "constraints": { | |
| "enum": ["approved", "not reviewed", "rejected"] | |
| } | |
| }, | |
| { | |
| "name": "osd_conformance", | |
| "type": "string", | |
| "description": "Conforming to Open Source Definition", | |
| "constraints": { | |
| "enum": ["approved", "not reviewed", "rejected"] | |
| } | |
| }, | |
| { | |
| "name": "status", | |
| "type": "string", | |
| "constraints": { | |
| "enum": ["active", "retired", "superceded"] | |
| } | |
| }, | |
| { | |
| "name": "title", | |
| "type": "string", | |
| "constraints": { | |
| "required": true, | |
| "unique": true | |
| } | |
| }, | |
| { | |
| "name": "url", | |
| "type": "string", | |
| "format": "uri", | |
| "constraints": { | |
| "unique": true | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment