LawDetail

LegalLegislationLebanonOpen DataFree

Properties

Name Type Description
id integer
kind string In Arabic, as the Centre names it.
kind_en string
number string
issued_on object
title string The official Arabic title.
title_en string Unofficial English title, written by a model from the Arabic title.
status string
article_count integer
code string The curated code's short name, e.g. "Code of Obligations and Contracts".
url string
source_url string
updated_at object
gazette_number string
gazette_date object
gazette_issue_id integer
preamble string
explanatory_note string
closing string
table_of_contents array
articles array
amended_by array
amended array
not_legal_advice string
View JSON Schema on GitHub

JSON Schema

lebaneselegislation-com-law-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lebaneselegislation-com/json-schema/lebaneselegislation-com-law-detail-schema.json",
  "title": "LawDetail",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lebaneselegislation-com-openapi.json#/components/schemas/LawDetail",
  "allOf": [
    {
      "$ref": "#/$defs/LawSummary"
    },
    {
      "type": "object",
      "required": [
        "not_legal_advice"
      ],
      "properties": {
        "gazette_number": {
          "type": "string"
        },
        "gazette_date": {
          "$ref": "#/$defs/Date"
        },
        "gazette_issue_id": {
          "type": "integer"
        },
        "preamble": {
          "type": "string"
        },
        "explanatory_note": {
          "type": "string"
        },
        "closing": {
          "type": "string"
        },
        "table_of_contents": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "depth",
              "heading"
            ],
            "properties": {
              "id": {
                "type": "integer"
              },
              "depth": {
                "type": "integer"
              },
              "heading": {
                "type": "string"
              },
              "note": {
                "type": "string"
              }
            }
          }
        },
        "articles": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "position",
              "number",
              "url"
            ],
            "properties": {
              "position": {
                "type": "integer"
              },
              "number": {
                "type": "string"
              },
              "section_id": {
                "type": "integer"
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        },
        "amended_by": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LawChange"
          }
        },
        "amended": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LawChange"
          }
        },
        "not_legal_advice": {
          "type": "string"
        }
      }
    }
  ],
  "$defs": {
    "Date": {
      "type": "string",
      "format": "date"
    },
    "LawChange": {
      "type": "object",
      "required": [
        "relation",
        "verb",
        "law"
      ],
      "properties": {
        "relation": {
          "type": "string"
        },
        "verb": {
          "type": "string"
        },
        "law": {
          "$ref": "#/$defs/LawSummary"
        },
        "effective_on": {
          "$ref": "#/$defs/Date"
        },
        "articles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "LawSummary": {
      "type": "object",
      "description": "A text's identity, without its text.",
      "required": [
        "id",
        "kind",
        "title",
        "status",
        "article_count",
        "url"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "kind": {
          "type": "string",
          "description": "In Arabic, as the Centre names it."
        },
        "kind_en": {
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "issued_on": {
          "$ref": "#/$defs/Date"
        },
        "title": {
          "type": "string",
          "description": "The official Arabic title."
        },
        "title_en": {
          "type": "string",
          "description": "Unofficial English title, written by a model from the Arabic title."
        },
        "status": {
          "type": "string",
          "enum": [
            "in_force",
            "repealed"
          ]
        },
        "article_count": {
          "type": "integer"
        },
        "code": {
          "type": "string",
          "description": "The curated code's short name, e.g. \"Code of Obligations and Contracts\"."
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "source_url": {
          "type": "string",
          "format": "uri"
        },
        "updated_at": {
          "$ref": "#/$defs/UpdatedAt"
        }
      }
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date",
      "description": "The day the record's page last changed on the site (page_state): an amendment in force, a ruling's reading, a correction. Never the text's own date. Absent when not known."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lebaneselegislation-com-law-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.