-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhardcoded-schemas.json
26 lines (26 loc) · 1.08 KB
/
hardcoded-schemas.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"Boolean": { "type": "boolean" },
"Date": { "type": "string", "format": "date" },
"DateTime": { "type": "string", "format": "date-time" },
"Float": { "type": "number", "$comment": "https://schema.org/Float" },
"Integer": { "type": "integer" },
"Number": { "type": "number" },
"Text": { "type": "string" },
"Time": { "type": "string", "format": "time" },
"URL": { "type": "string", "format": "uri" },
"Quantity": { "type": "string", "$comment": "https://schema.org/Quantity" },
"Distance": { "type": "string", "$comment": "https://schema.org/Distance" },
"Duration": { "type": "string", "$comment": "https://schema.org/Duration" },
"Energy": { "type": "string", "$comment": "https://schema.org/Energy" },
"Mass": { "type": "string", "$comment": "https://schema.org/Mass" },
"acceptsReservations": {
"anyOf": [
{ "type": "boolean" },
{ "type": "string", "format": "uri" },
{ "type": "string", "enum": ["Yes", "No"] }
]
},
"cssSelector": { "type": "string" },
"repetitions": { "type": "integer", "minimum": 1 },
"xpath": { "type": "string" }
}