meadow
Version:
A data access library.
164 lines (157 loc) • 5.16 kB
JSON
{
"Scope": "FableTest",
"DefaultIdentifier": "IDAnimal",
"Schema": [
{ "Column": "IDAnimal", "Type":"AutoIdentity" },
{ "Column": "GUIDAnimal", "Type":"AutoGUID" },
{ "Column": "CreateDate", "Type":"CreateDate" },
{ "Column": "CreatingIDUser", "Type":"CreateIDUser" },
{ "Column": "UpdateDate", "Type":"UpdateDate" },
{ "Column": "UpdatingIDUser", "Type":"UpdateIDUser" },
{ "Column": "Deleted", "Type":"Deleted" },
{ "Column": "DeletingIDUser", "Type":"DeleteIDUser" },
{ "Column": "DeleteDate", "Type":"DeleteDate" },
{ "Column": "Name", "Type":"String" },
{ "Column": "Type", "Type":"String" }
],
"DefaultObject": {
"IDAnimal": null,
"GUIDAnimal": "",
"CreateDate": false,
"CreatingIDUser": 0,
"UpdateDate": false,
"UpdatingIDUser": 0,
"Deleted": 0,
"DeleteDate": false,
"DeletingIDUser": 0,
"Name": "Unknown",
"Type": "Unclassified"
},
"JsonSchema": {
"title": "Animal",
"description": "A creature that lives in a meadow.",
"type": "object",
"properties": {
"IDAnimal": {
"description": "The unique identifier for an animal",
"type": "integer"
},
"Name": {
"description": "The animal's name",
"type": "string"
},
"Type": {
"description": "The type of the animal",
"type": "string"
}
},
"required": ["IDAnimal", "Name", "CreatingIDUser"]
},
"Authorization": {
"__DefaultAPISecurity": {
"Create": "Deny",
"Read": "Deny",
"Reads": "Deny",
"ReadsBy": "Deny",
"ReadMax": "Deny",
"ReadSelectList": "Deny",
"Update": "Deny",
"Delete": "Deny",
"Count": "Deny",
"CountBy": "Deny",
"Schema": "Deny",
"Validate": "Deny",
"New": "Deny"
},
"Unauthenticated": {
"Create": "Deny",
"Read": "Deny",
"Reads": "Deny",
"ReadsBy": "Deny",
"ReadMax": "Deny",
"ReadSelectList": "Deny",
"Update": "Deny",
"Delete": "Deny",
"Count": "Deny",
"CountBy": "Deny",
"Schema": "Deny",
"Validate": "Deny",
"New": "Deny"
},
"User": {
"Create": "Allow",
"Read": "Mine,MyCustomer",
"Reads": "MyCustomer",
"ReadsBy": "MyCustomer",
"ReadMax": "MyCustomer",
"ReadSelectList": "MyCustomer",
"Update": "Mine",
"Delete": "Mine",
"Count": "MyCustomer",
"CountBy": "MyCustomer",
"Schema": "MyCustomer",
"Validate": "MyCustomer",
"New": "MyCustomer"
},
"Manager": {
"Create": "Allow",
"Read": "MyCustomer",
"Reads": "MyCustomer",
"ReadsBy": "MyCustomer",
"ReadMax": "MyCustomer",
"ReadSelectList": "MyCustomer",
"Update": "Mine",
"Delete": "Mine",
"Count": "MyCustomer",
"CountBy": "MyCustomer",
"Schema": "MyCustomer",
"Validate": "MyCustomer",
"New": "MyCustomer"
},
"Director": {
"Create": "Allow",
"Read": "MyCustomer",
"Reads": "MyCustomer",
"ReadsBy": "MyCustomer",
"ReadMax": "MyCustomer",
"ReadSelectList": "MyCustomer",
"Update": "MyCustomer",
"Delete": "MyCustomer",
"Count": "MyCustomer",
"CountBy": "MyCustomer",
"Schema": "MyCustomer",
"Validate": "MyCustomer",
"New": "MyCustomer"
},
"Executive": {
"Create": "Allow",
"Read": "MyCustomer",
"Reads": "MyCustomer",
"ReadsBy": "MyCustomer",
"ReadMax": "MyCustomer",
"ReadSelectList": "MyCustomer",
"Update": "MyCustomer",
"Delete": "MyCustomer",
"Count": "MyCustomer",
"CountBy": "MyCustomer",
"Schema": "MyCustomer",
"Validate": "MyCustomer",
"New": "MyCustomer"
},
"Administrator": {
"Create": "Allow",
"Read": "Allow",
"Reads": "Allow",
"ReadsBy": "Allow",
"ReadMax": "Allow",
"ReadSelectList": "Allow",
"Update": "Allow",
"Delete": "Allow",
"Count": "Allow",
"CountBy": "Allow",
"Schema": "Allow",
"Validate": "Allow",
"New": "Allow"
}
}
}