Skip to content

Commit

Permalink
generated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bwinkers committed Jan 29, 2018
1 parent ef543a3 commit a071d19
Showing 1 changed file with 151 additions and 0 deletions.
151 changes: 151 additions & 0 deletions schema2/ActivateAction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
{
"title": "ActivateAction",
"description": "The act of starting or activating a device or application (e.g. starting a timer or turning on a flashlight).",
"required": [
"coreType",
"name"
],
"properties": {
"actionStatus": {
"description": "Indicates the current disposition of the Action.",
"$ref": "#/components/schema/ActionStatusType"
},
"additionalType": {
"description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.",
"nuggetType": "URL",
"type": "string"
},
"agent": {
"description": "The direct performer or driver of the action (animate or inanimate). e.g. John wrote a book.",
"oneOf": [
{
"$ref": "#/components/schema/Organization"
},
{
"$ref": "#/components/schema/Person"
}
]
},
"alternateName": {
"description": "An alias for the item.",
"nuggetType": "Text",
"type": "string"
},
"coreType": {
"description": "The core ActiveRules type",
"type": "string",
"enum": [
"Person",
"Product",
"Event",
"PublishedWork"
]
},
"description": {
"description": "A description of the item.",
"nuggetType": "Text",
"type": "string"
},
"endTime": {
"description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.",
"nuggetType": "DateTime",
"type": "string"
},
"error": {
"description": "For failed actions, more information on the cause of the failure.",
"$ref": "#/components/schema/Thing"
},
"identifier": {
"description": "The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.",
"oneOf": [
{
"$ref": "#/components/schema/PropertyValue"
},
{
"nuggetType": "Text",
"type": "string"
},
{
"nuggetType": "URL",
"type": "string"
}
]
},
"image": {
"description": "An image of the item. This can be a URL or a fully described ImageObject.",
"oneOf": [
{
"$ref": "#/components/schema/ImageObject"
},
{
"nuggetType": "URL",
"type": "string"
}
]
},
"instrument": {
"description": "The object that helped the agent perform the action. e.g. John wrote a book with a pen.",
"$ref": "#/components/schema/Thing"
},
"name": {
"description": "The name of the item.",
"nuggetType": "Text",
"type": "string"
},
"object": {
"description": "The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read a book.",
"$ref": "#/components/schema/Thing"
},
"participant": {
"description": "Other co-agents that participated in the action indirectly. e.g. John wrote a book with Steve.",
"oneOf": [
{
"$ref": "#/components/schema/Organization"
},
{
"$ref": "#/components/schema/Person"
}
]
},
"potentialAction": {
"description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.",
"$ref": "#/components/schema/Action"
},
"result": {
"description": "The result produced in the action. e.g. John wrote a book.",
"$ref": "#/components/schema/Thing"
},
"sameAs": {
"description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.",
"nuggetType": "URL",
"type": "string"
},
"startTime": {
"description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.",
"nuggetType": "DateTime",
"type": "string"
},
"subjectOf": {
"description": "A CreativeWork or Event about this Thing.. Inverse property: about.",
"oneOf": [
{
"$ref": "#/components/schema/CreativeWork"
},
{
"$ref": "#/components/schema/Event"
}
]
},
"target": {
"description": "Indicates a target EntryPoint for an Action.",
"$ref": "#/components/schema/EntryPoint"
},
"url": {
"description": "URL of the item.",
"nuggetType": "URL",
"type": "string"
}
},
"extends": "ControlAction",
"type": "object"
}

0 comments on commit a071d19

Please sign in to comment.