Raw schema
{
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "YYYY-MM-DD(1926-01-01〜2080-12-31)"
},
"end": {
"type": "string",
"description": "YYYY-MM-DD(1926-01-01〜2080-12-31)"
},
"all": {
"type": "array",
"items": {
"type": "object",
"description": "条件 1 つ。rokuyo・lucky_day・weekday・holiday・day_off・solar_term・moon_phase・day_kanshi・day_stem・day_branch のどれか 1 つと、任意の offset_days(-31〜31)",
"properties": {
"rokuyo": {
"type": "string",
"enum": [
"大安",
"友引",
"先勝",
"先負",
"仏滅",
"赤口"
]
},
"lucky_day": {
"type": "string",
"description": "一粒万倍日・天赦日・神吉日・大明日・天恩日・母倉日・月徳日・寅の日・巳の日・己巳の日・不成就日"
},
"weekday": {
"type": "string",
"enum": [
"月",
"火",
"水",
"木",
"金",
"土",
"日"
]
},
"holiday": {
"type": "boolean",
"description": "true で祝日・振替休日・国民の休日"
},
"day_off": {
"type": "boolean",
"description": "true で土日または祝日"
},
"solar_term": {
"type": "string",
"description": "二十四節気・雑節の名前(春分・夏の土用・節分 など)、または「二十四節気」「雑節」"
},
"moon_phase": {
"type": "string",
"enum": [
"新月",
"上弦の月",
"満月",
"下弦の月"
]
},
"day_kanshi": {
"type": "string",
"description": "日干支(例: 甲子)"
},
"day_stem": {
"type": "string",
"enum": [
"甲",
"乙",
"丙",
"丁",
"戊",
"己",
"庚",
"辛",
"壬",
"癸"
]
},
"day_branch": {
"type": "string",
"enum": [
"子",
"丑",
"寅",
"卯",
"辰",
"巳",
"午",
"未",
"申",
"酉",
"戌",
"亥"
],
"description": "十二支(戌 なら戌の日)"
},
"offset_days": {
"type": "integer",
"minimum": -31,
"maximum": 31,
"description": "1 なら翌日、-1 なら前日がその条件"
}
},
"additionalProperties": false
},
"description": "条件の配列(all・any・none を合わせて 12 個まで)"
},
"any": {
"type": "array",
"items": {
"type": "object",
"description": "条件 1 つ。rokuyo・lucky_day・weekday・holiday・day_off・solar_term・moon_phase・day_kanshi・day_stem・day_branch のどれか 1 つと、任意の offset_days(-31〜31)",
"properties": {
"rokuyo": {
"type": "string",
"enum": [
"大安",
"友引",
"先勝",
"先負",
"仏滅",
"赤口"
]
},
"lucky_day": {
"type": "string",
"description": "一粒万倍日・天赦日・神吉日・大明日・天恩日・母倉日・月徳日・寅の日・巳の日・己巳の日・不成就日"
},
"weekday": {
"type": "string",
"enum": [
"月",
"火",
"水",
"木",
"金",
"土",
"日"
]
},
"holiday": {
"type": "boolean",
"description": "true で祝日・振替休日・国民の休日"
},
"day_off": {
"type": "boolean",
"description": "true で土日または祝日"
},
"solar_term": {
"type": "string",
"description": "二十四節気・雑節の名前(春分・夏の土用・節分 など)、または「二十四節気」「雑節」"
},
"moon_phase": {
"type": "string",
"enum": [
"新月",
"上弦の月",
"満月",
"下弦の月"
]
},
"day_kanshi": {
"type": "string",
"description": "日干支(例: 甲子)"
},
"day_stem": {
"type": "string",
"enum": [
"甲",
"乙",
"丙",
"丁",
"戊",
"己",
"庚",
"辛",
"壬",
"癸"
]
},
"day_branch": {
"type": "string",
"enum": [
"子",
"丑",
"寅",
"卯",
"辰",
"巳",
"午",
"未",
"申",
"酉",
"戌",
"亥"
],
"description": "十二支(戌 なら戌の日)"
},
"offset_days": {
"type": "integer",
"minimum": -31,
"maximum": 31,
"description": "1 なら翌日、-1 なら前日がその条件"
}
},
"additionalProperties": false
},
"description": "条件の配列(all・any・none を合わせて 12 個まで)"
},
"none": {
"type": "array",
"items": {
"type": "object",
"description": "条件 1 つ。rokuyo・lucky_day・weekday・holiday・day_off・solar_term・moon_phase・day_kanshi・day_stem・day_branch のどれか 1 つと、任意の offset_days(-31〜31)",
"properties": {
"rokuyo": {
"type": "string",
"enum": [
"大安",
"友引",
"先勝",
"先負",
"仏滅",
"赤口"
]
},
"lucky_day": {
"type": "string",
"description": "一粒万倍日・天赦日・神吉日・大明日・天恩日・母倉日・月徳日・寅の日・巳の日・己巳の日・不成就日"
},
"weekday": {
"type": "string",
"enum": [
"月",
"火",
"水",
"木",
"金",
"土",
"日"
]
},
"holiday": {
"type": "boolean",
"description": "true で祝日・振替休日・国民の休日"
},
"day_off": {
"type": "boolean",
"description": "true で土日または祝日"
},
"solar_term": {
"type": "string",
"description": "二十四節気・雑節の名前(春分・夏の土用・節分 など)、または「二十四節気」「雑節」"
},
"moon_phase": {
"type": "string",
"enum": [
"新月",
"上弦の月",
"満月",
"下弦の月"
]
},
"day_kanshi": {
"type": "string",
"description": "日干支(例: 甲子)"
},
"day_stem": {
"type": "string",
"enum": [
"甲",
"乙",
"丙",
"丁",
"戊",
"己",
"庚",
"辛",
"壬",
"癸"
]
},
"day_branch": {
"type": "string",
"enum": [
"子",
"丑",
"寅",
"卯",
"辰",
"巳",
"午",
"未",
"申",
"酉",
"戌",
"亥"
],
"description": "十二支(戌 なら戌の日)"
},
"offset_days": {
"type": "integer",
"minimum": -31,
"maximum": 31,
"description": "1 なら翌日、-1 なら前日がその条件"
}
},
"additionalProperties": false
},
"description": "条件の配列(all・any・none を合わせて 12 個まで)"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}