Legalize · JSON-LD Context
Legalize Dev Context
JSON-LD context defining the semantic vocabulary for Legalize Dev from Legalize.
21 Classes
83 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
legalize:
https://legalize.dev/schema#
Classes
ArticleCoverage
Change
ChangesResponse
Commit
CommitsResponse
CountryInfo
HTTPValidationError
JurisdictionInfo
LawAtCommitResponse
LawAtDateResponse
LawDetail
LawMeta
LawSearchResult
PaginatedLaws
Reform
ReformsResponse
StatsResponse
ValidationError
WebhookEndpointCreate
WebhookEndpointUpdate
WebhookPreview
Properties
| Property | Type | Container |
|---|---|---|
| laws_with_articles | integer | |
| laws_total | integer | |
| articles_total | integer | |
| id | integer | |
| event | string | |
| country | string | |
| law_id | string | |
| detected_at | dateTime | |
| data | ||
| count | integer | |
| next_cursor | ||
| has_more | boolean | |
| changes | list | |
| sha | string | |
| date | string | |
| message | string | |
| commits | list | |
| detail | list | |
| jurisdiction | ||
| content_md | string | |
| kind | string | |
| text_state | string | |
| status | ||
| in_force | ||
| source_url | ||
| basis | ||
| text_superseded | ||
| warning | ||
| amended_by | list | |
| source_notes | list | |
| version_date | ||
| citation | string | |
| citation_url | string | |
| title | string | |
| short_title | ||
| law_type | string | |
| publication_date | ||
| article_count | ||
| reform_count | ||
| department | ||
| source | ||
| last_updated | ||
| extra | ||
| frontmatter | ||
| content_url | ||
| articles_indexed | ||
| title_snippet | ||
| match_basis | ||
| content_availability | string | |
| total | integer | |
| page | integer | |
| per_page | integer | |
| query | ||
| sort | ||
| from_date | ||
| to_date | ||
| results | list | |
| source_id | ||
| articles_affected | ||
| source_title | ||
| source_country | ||
| source_available | boolean | |
| offset | integer | |
| limit | integer | |
| reforms | list | |
| history | ||
| declared_by_source | list | |
| reform_activity_by_year | list | |
| most_reformed_laws | list | |
| law_types | list | |
| article_coverage | ||
| loc | list | |
| msg | string | |
| type | string | |
| input | ||
| ctx | ||
| url | string | |
| event_types | list | |
| countries | ||
| law_ids | ||
| match_query | ||
| description | string | |
| enabled |
JSON-LD Document
{
"@context": {
"@vocab": "https://legalize.dev/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"legalize": "https://legalize.dev/schema#",
"ArticleCoverage": "legalize:ArticleCoverage",
"laws_with_articles": {
"@id": "legalize:laws_with_articles",
"@type": "xsd:integer"
},
"laws_total": {
"@id": "legalize:laws_total",
"@type": "xsd:integer"
},
"articles_total": {
"@id": "legalize:articles_total",
"@type": "xsd:integer"
},
"Change": "legalize:Change",
"id": {
"@id": "legalize:id",
"@type": "xsd:integer"
},
"event": {
"@id": "legalize:event",
"@type": "xsd:string"
},
"country": {
"@id": "legalize:country",
"@type": "xsd:string"
},
"law_id": {
"@id": "legalize:law_id",
"@type": "xsd:string"
},
"detected_at": {
"@id": "legalize:detected_at",
"@type": "xsd:dateTime"
},
"data": {
"@id": "legalize:data"
},
"ChangesResponse": "legalize:ChangesResponse",
"count": {
"@id": "legalize:count",
"@type": "xsd:integer"
},
"next_cursor": {
"@id": "legalize:next_cursor"
},
"has_more": {
"@id": "legalize:has_more",
"@type": "xsd:boolean"
},
"changes": {
"@id": "legalize:changes",
"@container": "@list"
},
"Commit": "legalize:Commit",
"sha": {
"@id": "legalize:sha",
"@type": "xsd:string"
},
"date": {
"@id": "legalize:date",
"@type": "xsd:string"
},
"message": {
"@id": "legalize:message",
"@type": "xsd:string"
},
"CommitsResponse": "legalize:CommitsResponse",
"commits": {
"@id": "legalize:commits",
"@container": "@list"
},
"CountryInfo": "legalize:CountryInfo",
"HTTPValidationError": "legalize:HTTPValidationError",
"detail": {
"@id": "legalize:detail",
"@container": "@list"
},
"JurisdictionInfo": "legalize:JurisdictionInfo",
"jurisdiction": {
"@id": "legalize:jurisdiction"
},
"LawAtCommitResponse": "legalize:LawAtCommitResponse",
"content_md": {
"@id": "legalize:content_md",
"@type": "xsd:string"
},
"kind": {
"@id": "legalize:kind",
"@type": "xsd:string"
},
"text_state": {
"@id": "legalize:text_state",
"@type": "xsd:string"
},
"status": {
"@id": "legalize:status"
},
"in_force": {
"@id": "legalize:in_force"
},
"source_url": {
"@id": "legalize:source_url"
},
"basis": {
"@id": "legalize:basis"
},
"text_superseded": {
"@id": "legalize:text_superseded"
},
"warning": {
"@id": "legalize:warning"
},
"amended_by": {
"@id": "legalize:amended_by",
"@container": "@list"
},
"source_notes": {
"@id": "legalize:source_notes",
"@container": "@list"
},
"LawAtDateResponse": "legalize:LawAtDateResponse",
"version_date": {
"@id": "legalize:version_date"
},
"citation": {
"@id": "legalize:citation",
"@type": "xsd:string"
},
"citation_url": {
"@id": "legalize:citation_url",
"@type": "xsd:string"
},
"LawDetail": "legalize:LawDetail",
"title": {
"@id": "legalize:title",
"@type": "xsd:string"
},
"short_title": {
"@id": "legalize:short_title"
},
"law_type": {
"@id": "legalize:law_type",
"@type": "xsd:string"
},
"publication_date": {
"@id": "legalize:publication_date"
},
"article_count": {
"@id": "legalize:article_count"
},
"reform_count": {
"@id": "legalize:reform_count"
},
"department": {
"@id": "legalize:department"
},
"source": {
"@id": "legalize:source"
},
"last_updated": {
"@id": "legalize:last_updated"
},
"extra": {
"@id": "legalize:extra"
},
"frontmatter": {
"@id": "legalize:frontmatter"
},
"content_url": {
"@id": "legalize:content_url"
},
"articles_indexed": {
"@id": "legalize:articles_indexed"
},
"LawMeta": "legalize:LawMeta",
"LawSearchResult": "legalize:LawSearchResult",
"title_snippet": {
"@id": "legalize:title_snippet"
},
"match_basis": {
"@id": "legalize:match_basis"
},
"content_availability": {
"@id": "legalize:content_availability",
"@type": "xsd:string"
},
"PaginatedLaws": "legalize:PaginatedLaws",
"total": {
"@id": "legalize:total",
"@type": "xsd:integer"
},
"page": {
"@id": "legalize:page",
"@type": "xsd:integer"
},
"per_page": {
"@id": "legalize:per_page",
"@type": "xsd:integer"
},
"query": {
"@id": "legalize:query"
},
"sort": {
"@id": "legalize:sort"
},
"from_date": {
"@id": "legalize:from_date"
},
"to_date": {
"@id": "legalize:to_date"
},
"results": {
"@id": "legalize:results",
"@container": "@list"
},
"Reform": "legalize:Reform",
"source_id": {
"@id": "legalize:source_id"
},
"articles_affected": {
"@id": "legalize:articles_affected"
},
"source_title": {
"@id": "legalize:source_title"
},
"source_country": {
"@id": "legalize:source_country"
},
"source_available": {
"@id": "legalize:source_available",
"@type": "xsd:boolean"
},
"ReformsResponse": "legalize:ReformsResponse",
"offset": {
"@id": "legalize:offset",
"@type": "xsd:integer"
},
"limit": {
"@id": "legalize:limit",
"@type": "xsd:integer"
},
"reforms": {
"@id": "legalize:reforms",
"@container": "@list"
},
"history": {
"@id": "legalize:history"
},
"declared_by_source": {
"@id": "legalize:declared_by_source",
"@container": "@list"
},
"StatsResponse": "legalize:StatsResponse",
"reform_activity_by_year": {
"@id": "legalize:reform_activity_by_year",
"@container": "@list"
},
"most_reformed_laws": {
"@id": "legalize:most_reformed_laws",
"@container": "@list"
},
"law_types": {
"@id": "legalize:law_types",
"@container": "@list"
},
"article_coverage": {
"@id": "legalize:article_coverage"
},
"ValidationError": "legalize:ValidationError",
"loc": {
"@id": "legalize:loc",
"@container": "@list"
},
"msg": {
"@id": "legalize:msg",
"@type": "xsd:string"
},
"type": {
"@id": "legalize:type",
"@type": "xsd:string"
},
"input": {
"@id": "legalize:input"
},
"ctx": {
"@id": "legalize:ctx"
},
"WebhookEndpointCreate": "legalize:WebhookEndpointCreate",
"url": {
"@id": "legalize:url",
"@type": "xsd:string"
},
"event_types": {
"@id": "legalize:event_types",
"@container": "@list"
},
"countries": {
"@id": "legalize:countries"
},
"law_ids": {
"@id": "legalize:law_ids"
},
"match_query": {
"@id": "legalize:match_query"
},
"description": {
"@id": "legalize:description",
"@type": "xsd:string"
},
"WebhookEndpointUpdate": "legalize:WebhookEndpointUpdate",
"enabled": {
"@id": "legalize:enabled"
},
"WebhookPreview": "legalize:WebhookPreview"
},
"@type": "schema:Dataset",
"schema:name": "Legalize API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Legalize's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-15) from openapi/legalize-dev-openapi.yml.",
"dcterms:created": "2026-11-15",
"dcterms:source": [
"openapi/legalize-dev-openapi.yml"
]
}