{
    "status": "success",
    "catalog_version": "1.0",
    "publisher": {
        "name": "องค์การบริหารส่วนจังหวัดพะเยา",
        "name_en": "Phayao Provincial Administrative Organization",
        "type": "องค์กรปกครองส่วนท้องถิ่น"
    },
    "exported_at": "2026-07-26T14:16:43+07:00",
    "dataset": {
        "table_name": "expense_estimates",
        "title": "รายงานประมาณการรายจ่าย",
        "title_full": "รายงานประมาณการรายจ่าย องค์การบริหารส่วนจังหวัด",
        "description": "ข้อมูลประมาณการรายจ่ายรายละเอียดตามแผนงาน หมวดงบ และรายการ พร้อมยอดจริงและประมาณการหลายปี",
        "organization": "อบจ.จังหวัด",
        "language": "th",
        "theme": [
            "งบประมาณ",
            "รายจ่าย",
            "ประมาณการ"
        ],
        "update_frequency": "รายปี",
        "record_count": 1657,
        "last_updated": "2026-07-06 11:53:31",
        "fields": [
            {
                "column": "id",
                "label_th": "id",
                "type": "integer",
                "mysql_type": "int(11)",
                "nullable": false,
                "primary_key": true,
                "auto_increment": true
            },
            {
                "column": "classification_id",
                "label_th": "รหัสการจำแนก",
                "type": "integer",
                "reference": {
                    "table": "ld_classification",
                    "column": "id"
                },
                "mysql_type": "int(11)",
                "nullable": true
            },
            {
                "column": "observation_uri",
                "label_th": "URI รายการ",
                "type": "string",
                "description": "URI สำหรับ RDF Linked Data",
                "mysql_type": "varchar(512)",
                "nullable": true
            },
            {
                "column": "status",
                "label_th": "สถานะ รายรับ\/รายจ่าย",
                "type": "string",
                "required": true,
                "mysql_type": "varchar(50)",
                "nullable": false
            },
            {
                "column": "plan_name",
                "label_th": "แผนงาน",
                "type": "string",
                "required": true,
                "mysql_type": "varchar(255)",
                "nullable": false
            },
            {
                "column": "work_type",
                "label_th": "ลักษณะงาน",
                "type": "string",
                "required": true,
                "mysql_type": "varchar(255)",
                "nullable": false
            },
            {
                "column": "budget_category",
                "label_th": "หมวดงบ",
                "type": "string",
                "required": true,
                "mysql_type": "varchar(255)",
                "nullable": false
            },
            {
                "column": "budget_subcategory",
                "label_th": "หมวดงบย่อย",
                "type": "string",
                "mysql_type": "varchar(255)",
                "nullable": true
            },
            {
                "column": "budget_subcategory2",
                "label_th": "หมวดงบย่อย2",
                "type": "string",
                "mysql_type": "varchar(255)",
                "nullable": true
            },
            {
                "column": "item_name",
                "label_th": "รายการ",
                "type": "string",
                "required": true,
                "mysql_type": "varchar(500)",
                "nullable": false
            },
            {
                "column": "actual_y1",
                "label_th": "รายจ่ายจริง_ปี 2566",
                "type": "decimal",
                "unit": "บาท",
                "year_be": 2566,
                "mysql_type": "decimal(15,2)",
                "nullable": true
            },
            {
                "column": "actual_y2",
                "label_th": "รายจ่ายจริง_ปี 2567",
                "type": "decimal",
                "unit": "บาท",
                "year_be": 2567,
                "mysql_type": "decimal(15,2)",
                "nullable": true
            },
            {
                "column": "estimate_y3",
                "label_th": "ประมาณการ_ปี 2568",
                "type": "decimal",
                "unit": "บาท",
                "year_be": 2568,
                "mysql_type": "decimal(15,2)",
                "nullable": true
            },
            {
                "column": "diff_percentage",
                "label_th": "ประมาณการ_ยอดต่าง (%)",
                "type": "string",
                "description": "อัตราส่วนต่างเป็นเปอร์เซ็นต์ (เก็บเป็นข้อความ)",
                "mysql_type": "varchar(50)",
                "nullable": true
            },
            {
                "column": "estimate_y4",
                "label_th": "ประมาณการ_ปี 2569",
                "type": "decimal",
                "unit": "บาท",
                "year_be": 2569,
                "mysql_type": "decimal(15,2)",
                "nullable": true
            },
            {
                "column": "fiscal_year",
                "label_th": "ปีงบประมาณ",
                "type": "integer",
                "unit": "พ.ศ.",
                "default": 2568,
                "mysql_type": "int(11)",
                "nullable": true
            },
            {
                "column": "created_at",
                "label_th": "วันที่นำเข้าข้อมูล",
                "type": "timestamp",
                "system": true,
                "mysql_type": "timestamp",
                "nullable": false
            }
        ],
        "distribution": {
            "csv": "export.php?RPTYPE=1&REPORT=expense_estimates",
            "json": "export.php?RPTYPE=2&REPORT=expense_estimates",
            "excel": "export.php?RPTYPE=3&REPORT=expense_estimates",
            "xml": "export.php?RPTYPE=4&REPORT=expense_estimates",
            "rdf": "export.php?RPTYPE=5&REPORT=expense_estimates",
            "rdf_ld": "export.php?RPTYPE=6&REPORT=expense_estimates",
            "api": "export.php?RPTYPE=7&REPORT=expense_estimates",
            "rss": "export.php?RPTYPE=8&REPORT=expense_estimates",
            "metadata": "export.php?RPTYPE=9&REPORT=expense_estimates"
        },
        "catalog": {
            "maincategory": "ชุดข้อมูลงบประมาณ",
            "subcategory": "รายงานประมาณการรายจ่าย องค์การบริหารส่วนจังหวัด",
            "subtype": "ชุดข้อมูลมาตรฐาน",
            "docid": "Clean4"
        },
        "clean_code": "Clean4",
        "file_name": "Clean4 รายงานประมาณการรายจ่าย_อบจ_พะเยา_ปีงบประมาณ 2568.xlsx",
        "fiscal_year": 2568,
        "data_sheet": "รายงานประมาณการรายจ่าย",
        "standard_sheet": "มาตรฐานข้อมูล",
        "related_datasets": [
            "ld_concept",
            "ld_classification"
        ],
        "is_reference": false
    }
}