105 lines
1.9 KiB
JSON
105 lines
1.9 KiB
JSON
|
{
|
||
|
"name": "Actor",
|
||
|
"description": "Any entity (human or machine) playing an active role.",
|
||
|
"abstractType": true,
|
||
|
"superclasses": ["Resource"],
|
||
|
"facets": [
|
||
|
/*...*/
|
||
|
],
|
||
|
"resources": [
|
||
|
/*...*/
|
||
|
]
|
||
|
}
|
||
|
|
||
|
{
|
||
|
"name": "ContactFacet",
|
||
|
"description": "This facet is expected to capture contact information",
|
||
|
"abstractType": false,
|
||
|
"superclasses":["Facet"],
|
||
|
"properties":[
|
||
|
{
|
||
|
"name": "name",
|
||
|
"description": "First Name",
|
||
|
"mandatory": true,
|
||
|
"readonly": false,
|
||
|
"notnull": true,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"regexpr": null,
|
||
|
"linkedType": null,
|
||
|
"linkedClass": null,
|
||
|
"type": 7 /* String*/
|
||
|
},
|
||
|
{
|
||
|
"name": "eMail",
|
||
|
"description": "A restricted range of RFC 822 compliant email address. ... ",
|
||
|
"mandatory": true,
|
||
|
"readonly": false,
|
||
|
"notnull": true,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"regexpr":"^[a-z0-9._%+-]{1,128}@[a-z0-9.-]{1,128}$",
|
||
|
"linkedType": null,
|
||
|
"linkedClass": null,
|
||
|
"type":7 /* String */
|
||
|
},
|
||
|
...
|
||
|
]
|
||
|
}
|
||
|
|
||
|
{
|
||
|
"name": "Hosts",
|
||
|
"description": "…",
|
||
|
"abstractType": false,
|
||
|
"superclasses": ["IsRelatedTo"],
|
||
|
"properties": null,
|
||
|
"source": "Site",
|
||
|
"target": "Service"
|
||
|
}
|
||
|
|
||
|
{
|
||
|
"name": "HasContact",
|
||
|
"description": "…",
|
||
|
"abstractType": false,
|
||
|
"superclasses": ["ConsistsOf"],
|
||
|
"properties": null,
|
||
|
"source": "Resource",
|
||
|
"target": "ContactFacet"
|
||
|
}
|
||
|
|
||
|
|
||
|
{
|
||
|
"name": "AccessPolicy",
|
||
|
"description": "",
|
||
|
"abstractType": false,
|
||
|
"superclasses": ["Embedded"],
|
||
|
"properties":[
|
||
|
{
|
||
|
"name": "policy",
|
||
|
"description": "",
|
||
|
"mandatory": false,
|
||
|
"readonly": false,
|
||
|
"notnull": false,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"regexpr": null,
|
||
|
"linkedType": null,
|
||
|
"linkedClass": "ValueSchema",
|
||
|
"type": 9 /* Embedded */
|
||
|
},
|
||
|
{
|
||
|
"name": "note",
|
||
|
"description": "",
|
||
|
"mandatory": false,
|
||
|
"readonly": false,
|
||
|
"notnull": false,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"regexpr": null,
|
||
|
"linkedType": null,
|
||
|
"linkedClass": null,
|
||
|
"type":7 /* String */
|
||
|
}
|
||
|
]
|
||
|
}
|