sentence.yml revision 4d437fdae7216cb88d5f093833b1c0166ef2a53b
---
http_interactions:
- request:
method: get
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Security-Policy:
- default-src 'none'
X-Xss-Protection:
- 1; mode=block
X-Frame-Options:
- deny
X-Content-Type-Options:
- nosniff
Strict-Transport-Security:
- max-age=31536000
Etag:
- '"0fd7e0d5da3c3130022437905b11410bd3c2dcac"'
Content-Type:
- text/plain; charset=utf-8
Cache-Control:
- max-age=300
X-Github-Request-Id:
- B91F1217:3778:1DBD90:56964E7D
Content-Length:
- '466'
Accept-Ranges:
- bytes
Date:
- Wed, 13 Jan 2016 13:17:50 GMT
Via:
- 1.1 varnish
Connection:
- keep-alive
X-Served-By:
- cache-lcy1134-LCY
X-Cache:
- MISS
X-Cache-Hits:
- '0'
Vary:
- Authorization,Accept-Encoding
Access-Control-Allow-Origin:
- "*"
X-Fastly-Request-Id:
- 27cc8cf5e237dfa205d45a94ebd24970c9eb188b
Expires:
- Wed, 13 Jan 2016 13:22:50 GMT
Source-Age:
- '0'
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20v
b250b2h1Yi9vbnRvaHViLWFwaS1qc29uL2RldmVsb3Avc2VudGVuY2UuanNv
biMiLAogICIkc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJh
ZnQtMDQvc2NoZW1hIyIsCiAgInRpdGxlIjogIlNlbnRlbmNlIiwKICAiZGVz
Y3JpcHRpb24iOiAiQSBzZW50ZW5jZSBpbnNpZGUgb2YgYW4gb250b2xvZ3ki
LAogICJ0eXBlIjogIm9iamVjdCIsCiAgIm9uZU9mIjogWwogICAgewogICAg
ICAicHJvcGVydGllcyI6IHsKICAgICAgICAiaXJpIjogeyAiJHJlZiI6ICJn
ZW5lcmljL2RlZmluaXRpb25zLmpzb24jL2RlZmluaXRpb25zL2lyaSIgfSwK
ICAgICAgICAibmFtZSI6IHsKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJU
aGUgbmFtZSBvZiB0aGUgc2VudGVuY2Ug4oCUIHVzdWFsbHkgYXV0by1nZW5l
cmF0ZWQuIiwKICAgICAgICAgICJ0eXBlIjogInN0cmluZyIKICAgICAgICB9
LAogICAgICAgICJkZWZpbml0aW9uIjogewogICAgICAgICAgImRlc2NyaXB0
aW9uIjogIlRoZSBkZWZpbml0aW9uIG9mIHRoZSBzZW50ZW5jZSIsCiAgICAg
ICAgICAidHlwZSI6ICJzdHJpbmciCiAgICAgICAgfSwKICAgICAgICAiaW1w
b3J0ZWQiOiB7CiAgICAgICAgICAiZGVzY3JpcHRpb24iOiAiRGVub3RlcyB3
aGV0aGVyIHRoaXMgc2VudGVuY2Ugd2FzIGltcG9ydGVkIGZyb20gYW5vdGhl
ciBvbnRvbG9neSIsCiAgICAgICAgICAidHlwZSI6ICJib29sZWFuIgogICAg
ICAgIH0sCiAgICAgICAgIm9udG9sb2d5IjogeyAiJHJlZiI6ICJyZWZlcmVu
Y2VzLmpzb24jL2RlZmluaXRpb25zL29udG9sb2d5IiB9LAogICAgICAgICJz
eW1ib2xzIjogewogICAgICAgICAgImRlc2NyaXB0aW9uIjogIlJlZmVyZW5j
ZSB0byBhbGwgc3ltYm9scyB1c2VkIGluIHRoaXMgc2VudGVuY2UiLAogICAg
ICAgICAgIiRyZWYiOiAiZ2VuZXJpYy9kZWZpbml0aW9ucy5qc29uIy9kZWZp
bml0aW9ucy9pcmkiCiAgICAgICAgfQogICAgICB9LAogICAgICAicmVxdWly
ZWQiOiBbCiAgICAgICAgImlyaSIsCiAgICAgICAgIm5hbWUiLAogICAgICAg
ICJkZWZpbml0aW9uIiwKICAgICAgICAiaW1wb3J0ZWQiLAogICAgICAgICJv
bnRvbG9neSIsCiAgICAgICAgInN5bWJvbHMiCiAgICAgIF0KICAgIH0sCiAg
ICB7CiAgICAgICJwcm9wZXJ0aWVzIjogewogICAgICAgICJpcmkiOiB7ICIk
cmVmIjogImdlbmVyaWMvZGVmaW5pdGlvbnMuanNvbiMvZGVmaW5pdGlvbnMv
aXJpIiB9LAogICAgICAgICJuYW1lIjogewogICAgICAgICAgImRlc2NyaXB0
aW9uIjogIlRoZSBuYW1lIG9mIHRoZSBzZW50ZW5jZSDigJQgdXN1YWxseSBh
dXRvLWdlbmVyYXRlZC4iLAogICAgICAgICAgInR5cGUiOiAic3RyaW5nIgog
ICAgICAgIH0sCiAgICAgICAgImRlZmluaXRpb24iOiB7CiAgICAgICAgICAi
ZGVzY3JpcHRpb24iOiAiVGhlIGRlZmluaXRpb24gb2YgdGhlIHNlbnRlbmNl
IiwKICAgICAgICAgICJ0eXBlIjogInN0cmluZyIKICAgICAgICB9LAogICAg
ICAgICJpbXBvcnRlZCI6IHsKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJE
ZW5vdGVzIHdoZXRoZXIgdGhpcyBzZW50ZW5jZSB3YXMgaW1wb3J0ZWQgZnJv
bSBhbm90aGVyIG9udG9sb2d5IiwKICAgICAgICAgICJ0eXBlIjogImJvb2xl
YW4iCiAgICAgICAgfSwKICAgICAgICAiX2xpbmtzIjogeyAiJHJlZiI6ICJn
ZW5lcmljL2RlZmluaXRpb25zLmpzb24jL2RlZmluaXRpb25zL19saW5rcyIg
fQogICAgICB9LAogICAgICAicmVxdWlyZWQiOiBbCiAgICAgICAgImlyaSIs
CiAgICAgICAgIm5hbWUiLAogICAgICAgICJkZWZpbml0aW9uIiwKICAgICAg
ICAiaW1wb3J0ZWQiLAogICAgICAgICJfbGlua3MiCiAgICAgIF0KICAgIH0K
ICBdCn0K
http_version:
recorded_at: Wed, 13 Jan 2016 13:17:50 GMT
- request:
method: get
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Security-Policy:
- default-src 'none'
X-Xss-Protection:
- 1; mode=block
X-Frame-Options:
- deny
X-Content-Type-Options:
- nosniff
Strict-Transport-Security:
- max-age=31536000
Etag:
- '"05f33ad940ee1376f5482f623d6f455d035ce811"'
Content-Type:
- text/plain; charset=utf-8
Cache-Control:
- max-age=300
X-Github-Request-Id:
- B91F121B:3780:3BE0D8:56964E7E
Content-Length:
- '947'
Accept-Ranges:
- bytes
Date:
- Wed, 13 Jan 2016 13:17:51 GMT
Via:
- 1.1 varnish
Connection:
- keep-alive
X-Served-By:
- cache-lcy1133-LCY
X-Cache:
- MISS
X-Cache-Hits:
- '0'
Vary:
- Authorization,Accept-Encoding
Access-Control-Allow-Origin:
- "*"
X-Fastly-Request-Id:
- 6b6f4649d78d94ab396e8bd88d621787abc78db7
Expires:
- Wed, 13 Jan 2016 13:22:51 GMT
Source-Age:
- '0'
body:
encoding: UTF-8
string: |
{
"id": "https://raw.githubusercontent.com/ontohub/ontohub-api-json/develop/generic/definitions.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"iri": {
"description": "The IRI of a resource",
"type": "string",
"format": "iri",
"pattern": "^https?://([^.]+[.][^.]+)+/.+$"
},
"_links": {
"description": "A _links-element corresponding to the HAL standard for hypermedia information, adopted from https://github.com/DaveJS/dave.schema.json/blob/master/hal-schema.json",
"type": "object",
"additionalProperties": {
"oneOf": [
{
"id": "https://raw.githubusercontent.com/ontohub/ontohub-api-json/develop/generic/definitions.json#hal-member",
"type": "object",
"properties": {
"href": {
"description": "IRI of a resource",
"type": "string",
"format": "iri"
},
"type": {
"type": "string",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\/[a-zA-Z0-9!#\\$&\\.\\+-\\^_]{1,127}$",
"format": "mime",
"description": "Hints to the media type of a target resource"
},
"name": {
"type": "string"
},
"hreflang": {
"type": "string",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"description": "Language indication of the target resource"
}
},
"additionalProperties": false,
"required": [
"href"
]
},
{
"type": "array",
"items": [
{
"$ref": "https://raw.githubusercontent.com/ontohub/ontohub-api-json/develop/generic/definitions.json#hal-member"
}
],
"uniqueItems": true,
"additionalProperties": false
}
]
}
},
"errors": {
"description": "Information on the specific errors that occured",
"type": "array",
"items": {
"description": "Information on one of the specific errors that occured",
"type": "string"
}
}
}
}
http_version:
recorded_at: Wed, 13 Jan 2016 13:17:51 GMT
- request:
method: get
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Security-Policy:
- default-src 'none'
X-Xss-Protection:
- 1; mode=block
X-Frame-Options:
- deny
X-Content-Type-Options:
- nosniff
Strict-Transport-Security:
- max-age=31536000
Etag:
- '"54fd49ca226b4b028f96117e95333e615b0d1f7b"'
Content-Type:
- text/plain; charset=utf-8
Cache-Control:
- max-age=300
X-Github-Request-Id:
- B91F121C:3780:3BE1EC:56964E7F
Content-Length:
- '659'
Accept-Ranges:
- bytes
Date:
- Wed, 13 Jan 2016 13:17:51 GMT
Via:
- 1.1 varnish
Connection:
- keep-alive
X-Served-By:
- cache-lcy1130-LCY
X-Cache:
- MISS
X-Cache-Hits:
- '0'
Vary:
- Authorization,Accept-Encoding
Access-Control-Allow-Origin:
- "*"
X-Fastly-Request-Id:
- f08b3abfaa77b61e6e502349a71be6ab2f044baf
Expires:
- Wed, 13 Jan 2016 13:22:51 GMT
Source-Age:
- '0'
body:
encoding: UTF-8
string: |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"repository": {
"description": "Reference to a repository",
"type": "object",
"properties": {
"name": {
"description": "The name of the repository",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"logic": {
"description": "Reference to a logic",
"type": "object",
"properties": {
"name": {
"description": "The name of the logic",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"ontology": {
"description": "Reference to an ontology",
"type": "object",
"properties": {
"name": {
"description": "The name of the ontology",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"license_model": {
"description": "Reference to a license model",
"type": "object",
"properties": {
"name": {
"description": "The name of the license model",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"formality_level": {
"description": "Reference to a formality level",
"type": "object",
"properties": {
"name": {
"description": "The name of the formality level",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"ontology_type": {
"description": "Reference to an ontology type",
"type": "object",
"properties": {
"name": {
"description": "The name of the ontology type",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"ontology_version": {
"description": "Reference to an ontology-version",
"type": "object",
"properties": {
"number": {
"description": "The version number of the version of the ontology",
"type": "integer"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"logic_mapping": {
"description": "Reference to a mapping between logics",
"type": "object",
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"mapping": {
"description": "Reference to a mapping",
"type": "object",
"properties": {
"name": {
"description": "The name of the mapping",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"sentence": {
"description": "Reference to a sentence",
"type": "object",
"properties": {
"name": {
"description": "The name of the sentence",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"symbol": {
"description": "Reference to a symbol",
"type": "object",
"properties": {
"name": {
"description": "The name of the symbol",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"theorem": {
"description": "Reference to a theorem",
"type": "object",
"properties": {
"name": {
"description": "The name of the theorem",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"proof_attempt": {
"description": "Reference to a proof attempt",
"type": "object",
"properties": {
"number": {
"description": "The number of the proof attempt relative to its theorem",
"type": "integer"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"proof_status": {
"description": "Reference to a proof status",
"type": "object",
"properties": {
"identifier": {
"description": "The identifier of the proof status",
"type": "string"
},
"name": {
"description": "The name of the proof status (human-readable)",
"type": "string"
},
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"prover_output": {
"description": "Reference to a prover output",
"type": "object",
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"proof_attempt_configuration": {
"description": "Reference to a proof attempt configuration",
"type": "object",
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"comment": {
"description": "Reference to comment",
"type": "object",
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"review": {
"description": "Reference to a review",
"type": "object",
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" }
}
},
"task": {
"description": "Reference to a task",
"type": "object",
"properties": {
"iri": { "$ref": "generic/definitions.json#/definitions/iri" },
"name": {
"description": "The name of the task",
"type": "string"
}
}
}
}
}
http_version:
recorded_at: Wed, 13 Jan 2016 13:17:51 GMT
recorded_with: VCR 3.0.0