YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
List of cadastral quarters in the Russian Federation
Structure: An array of objects, where each object represents information about the cadastral region. Each object contains the following fields:
- "rayon": a string value representing the cadastral district.
- "total": a numerical value indicating the total number of cadastral blocks in a given area.
- "items": a list of strings, where each string represents the name of the cadastral quarter.
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"rayon": {
"type": "string"
},
"total": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["rayon", "total", "items"]
}
}
Pydantic
from __future__ import annotations
from typing import List
from pydantic import BaseModel
class ModelItem(BaseModel):
rayon: str
total: int
items: List[str]
class Model(BaseModel):
__root__: List[ModelItem]
- Downloads last month
- 4