ja_law_parser package¶
Submodules¶
ja_law_parser.model module¶
- class ja_law_parser.model.AmendProvision(*, amend_provision_sentence: AmendProvisionSentence | None = None, new_provisions: list[NewProvision] | None = None)¶
Bases:
BaseXmlModel
改正規定
- amend_provision_sentence¶
改正規定文
- Type:
- new_provisions¶
新規定
- Type:
list[ja_law_parser.model.NewProvision] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'amend_provision_sentence': FieldInfo(annotation=Union[AmendProvisionSentence, NoneType], required=False), 'new_provisions': FieldInfo(annotation=Union[list[NewProvision], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AmendProvisionSentence(*, sentence_raw: list[_Element] | None = None)¶
Bases:
WithSentences
改正規定文
- sentences¶
段
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Appdx(*, related_article_num_raw: _Element | None = None, arith_formula_num_raw: _Element | None = None, arith_formulas: list[ArithFormula] | None = None, remarks: list[Remarks] | None = None)¶
Bases:
WithArithFormulaNum
,WithRelatedArticleNum
付録
- arith_formula_num¶
算式番号
関係条文番号
- arith_formulas¶
算式
- Type:
list[ja_law_parser.model.ArithFormula] | None
- remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'arith_formula_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArithFormulaNum'), 'arith_formulas': FieldInfo(annotation=Union[list[ArithFormula], NoneType], required=False), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxFig(*, related_article_num_raw: _Element | None = None, appdx_fig_title_raw: _Element | None = None, num: str | None = None, fig_structs: list[FigStruct] | None = None, table_structs: list[TableStruct] | None = None)¶
Bases:
WithAppdxFigTitle
,WithRelatedArticleNum
別図
- num¶
番号
- Type:
str | None
- appdx_fig_title¶
別図名
関係条文番号
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_fig_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxFigTitle'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxFigTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
別図名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxFormat(*, related_article_num_raw: _Element | None = None, appdx_format_title_raw: _Element | None = None, num: str | None = None, format_structs: list[FormatStruct] | None = None, remarks: list[Remarks] | None = None)¶
Bases:
WithAppdxFormatTitle
,WithRelatedArticleNum
別記書式
- num¶
番号
- Type:
str | None
- appdx_format_title¶
別記書式名
関係条文番号
- format_structs¶
書式項目
- Type:
list[ja_law_parser.model.FormatStruct] | None
- remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_format_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxFormatTitle'), 'format_structs': FieldInfo(annotation=Union[list[FormatStruct], NoneType], required=False), 'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxFormatTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
別記書式名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxNote(*, related_article_num_raw: _Element | None = None, appdx_note_title_raw: _Element | None = None, num: str | None = None, note_structs: list[NoteStruct] | None = None, fig_structs: list[FigStruct] | None = None, table_structs: list[TableStruct] | None = None, remarks: list[Remarks] | None = None)¶
Bases:
WithAppdxNoteTitle
,WithRelatedArticleNum
別記
- num¶
番号
- Type:
str | None
- appdx_note_title¶
別記名
関係条文番号
- note_structs¶
記項目
- Type:
list[ja_law_parser.model.NoteStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_note_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxNoteTitle'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'note_structs': FieldInfo(annotation=Union[list[NoteStruct], NoneType], required=False), 'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxNoteTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
別記名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxStyle(*, related_article_num_raw: _Element | None = None, appdx_style_title_raw: _Element | None = None, num: str | None = None, style_structs: list[StyleStruct] | None = None, remarks: list[Remarks] | None = None)¶
Bases:
WithAppdxStyleTitle
,WithRelatedArticleNum
別記様式
- num¶
番号
- Type:
str | None
- appdx_style_title¶
別記様式名
関係条文番号
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_style_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxStyleTitle'), 'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxStyleTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
別記様式名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxTable(*, related_article_num_raw: _Element | None = None, appdx_table_title_raw: _Element | None = None, num: str | None = None, table_structs: list[TableStruct] | None = None, items: list[Item] | None = None, remarks: list[Remarks] | None = None)¶
Bases:
WithAppdxTableTitle
,WithRelatedArticleNum
別表
- num¶
番号
- Type:
str | None
- appdx_table_title¶
別表名
関係条文番号
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_table_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxTableTitle'), 'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.AppdxTableTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
別表名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ArithFormula(*, num: int | None = None, figs: list[Fig] | None = None)¶
Bases:
BaseXmlModel
算式
- num¶
番号
- Type:
int | None
- figs¶
図
- Type:
list[ja_law_parser.model.Fig] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'figs': FieldInfo(annotation=Union[list[Fig], NoneType], required=False), 'num': XmlEntityInfo(annotation=Union[Annotated[int, Ge], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ArithFormulaNum(*, raw_element: _Element)¶
Bases:
TaggedText
算式番号
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Article(*, suppl_note_raw: _Element | None = None, article_title_raw: _Element | None = None, article_caption_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, paragraphs: list[Paragraph])¶
Bases:
WithArticleCaption
,WithArticleTitle
,WithSupplNote
条
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
条見出し
- article_title¶
条名
- paragraphs¶
項
- Type:
- suppl_note¶
付記
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_caption_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleCaption'), 'article_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleTitle'), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'paragraphs': FieldInfo(annotation=list[Paragraph], required=True), 'suppl_note_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplNote')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ArticleCaption(*, raw_element: _Element, common_caption: bool | None = None)¶
Bases:
TaggedText
条見出し
共通見出し
- Type:
bool | None
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'common_caption': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='CommonCaption'), 'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ArticleRange(*, raw_element: _Element)¶
Bases:
TaggedText
目名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ArticleTitle(*, raw_element: _Element)¶
Bases:
TaggedText
条名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Chapter(*, chapter_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, articles: list[Article] | None = None, sections: list[Section] | None = None)¶
Bases:
WithChapterTitle
章
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- part_title¶
章名
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- sections¶
節
- Type:
list[ja_law_parser.model.Section] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'chapter_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ChapterTitle'), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'sections': FieldInfo(annotation=Union[list[Section], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ChapterTitle(*, raw_element: _Element)¶
Bases:
TaggedText
章名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Class(*, class_title_raw: _Element | None = None, num: str, class_sentence: ClassSentence, items: list[Item] | None = None)¶
Bases:
WithClassTitle
類
- num¶
番号
- Type:
str
- class_title¶
類名
- class_sentence¶
類文
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'class_sentence': FieldInfo(annotation=ClassSentence, required=True), 'class_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ClassTitle'), 'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ClassSentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
類文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ClassTitle(*, raw_element: _Element)¶
Bases:
TaggedText
類名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Column(*, sentence_raw: list[_Element] | None = None, num: int | None = None, line_break: bool | None = None, align: Literal['left', 'center', 'right', 'justify'] | None = None)¶
Bases:
WithSentences
欄
- num¶
番号
- Type:
int | None
- line_break¶
改行
- Type:
bool | None
- align¶
欄位置(”left”:左詰め、”center”:中央寄せ、”right”:右詰め、”justify”:均等割り付け)
- Type:
Literal[‘left’, ‘center’, ‘right’, ‘justify’] | None
- sentences¶
段
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'align': XmlEntityInfo(annotation=Union[Literal['left', 'center', 'right', 'justify'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>), 'line_break': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>), 'num': XmlEntityInfo(annotation=Union[Annotated[int, Ge], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Division(*, division_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, articles: list[Article] | None = None)¶
Bases:
WithDivisionTitle
目
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- division_title¶
目名
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'division_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='DivisionTitle'), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.DivisionTitle(*, raw_element: _Element)¶
Bases:
TaggedText
目名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.EnactStatement(*, raw_element: _Element)¶
Bases:
TaggedText
制定文
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Fig(*, src: str)¶
Bases:
BaseXmlModel
図
- src¶
URI
- Type:
str
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'src': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='src')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.FigStruct(*, fig_struct_title_raw: _Element | None = None, pre_remarks: list[Remarks] | None = None, fig: Fig, post_remarks: list[Remarks] | None = None)¶
Bases:
WithFigStructTitle
図項目
- fig_struct_title¶
図項目名
- pre_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- fig¶
図
- Type:
- post_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'fig': FieldInfo(annotation=Fig, required=True), 'fig_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='FigStructTitle'), 'post_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'pre_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.FigStructTitle(*, raw_element: _Element)¶
Bases:
TaggedText
図項目名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Format(*, figs: list[Fig] | None = None)¶
Bases:
BaseXmlModel
書式
- figs¶
図
- Type:
list[ja_law_parser.model.Fig] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'figs': FieldInfo(annotation=Union[list[Fig], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.FormatStruct(*, format_struct_title_raw: _Element | None = None, pre_remarks: list[Remarks] | None = None, format: Format, post_remarks: list[Remarks] | None = None)¶
Bases:
WithFormatStructTitle
書式項目
- format_struct_title¶
書式項目名
- pre_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- format¶
書式
- post_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'format': FieldInfo(annotation=Format, required=True), 'format_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='FormatStructTitle'), 'post_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'pre_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.FormatStructTitle(*, raw_element: _Element)¶
Bases:
TaggedText
書式項目名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Item(*, item_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, item_sentence: ItemSentence, subitems: list[Subitem1] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithItemTitle
号
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- item_title¶
号名
- item_sentence¶
号文
- subitems¶
号細分
- Type:
list[ja_law_parser.model.Subitem1] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'item_sentence': FieldInfo(annotation=ItemSentence, required=True), 'item_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ItemTitle'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitems': FieldInfo(annotation=Union[list[Subitem1], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ItemSentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ItemTitle(*, raw_element: _Element)¶
Bases:
TaggedText
号名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Law(*, era: str, year: int, num: int, law_type: Literal['Constitution', 'Act', 'CabinetOrder', 'ImperialOrder', 'MinisterialOrdinance', 'Rule', 'Misc'], lang: Literal['ja', 'en'], promulgate_month: int | None = None, promulgate_day: int | None = None, law_num: str, law_body: LawBody)¶
Bases:
BaseXmlModel
法令
- era¶
元号
- Type:
str
- year¶
年号
- Type:
int
- num¶
番号
- Type:
int
- law_type¶
種別(”Constitution”:憲法、”Act”:法律、”CabinetOrder”:政令、
- Type:
Literal[‘Constitution’, ‘Act’, ‘CabinetOrder’, ‘ImperialOrder’, ‘MinisterialOrdinance’, ‘Rule’, ‘Misc’]
- "ImperialOrder":勅令、"MinisterialOrdinance":府省令、"Rule":規則、"Misc":その他)
- lang¶
言語
- Type:
Literal[‘ja’, ‘en’]
- promulgate_month¶
公布月
- Type:
int | None
- promulgate_day¶
公布日
- Type:
int | None
- law_num¶
法令番号
- Type:
str
- law_body¶
法令本体
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'era': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Era'), 'lang': XmlEntityInfo(annotation=Literal['ja', 'en'], required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Lang'), 'law_body': FieldInfo(annotation=LawBody, required=True), 'law_num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ELEMENT: 1>, path='LawNum'), 'law_type': XmlEntityInfo(annotation=Literal['Constitution', 'Act', 'CabinetOrder', 'ImperialOrder', 'MinisterialOrdinance', 'Rule', 'Misc'], required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='LawType'), 'num': XmlEntityInfo(annotation=int, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'promulgate_day': XmlEntityInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='PromulgateDay'), 'promulgate_month': XmlEntityInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='PromulgateMonth'), 'year': XmlEntityInfo(annotation=int, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Year')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.LawBody(*, enact_statement_raw: _Element | None = None, law_title_raw: _Element | None = None, subject: str | None = None, toc: TOC | None = None, preamble: Preamble | None = None, main_provision: MainProvision, suppl_provisions: list[SupplProvision] | None = None, appdx_tables: list[AppdxTable] | None = None, appdx_notes: list[AppdxNote] | None = None, appdx_styles: list[AppdxStyle] | None = None, appdx: list[Appdx] | None = None, appdx_figs: list[AppdxFig] | None = None, appdx_formats: list[AppdxFormat] | None = None)¶
Bases:
WithLawTitle
,WithEnactStatement
法令本体
- subject¶
件名
- Type:
str | None
- law_title¶
題名
- enact_statement¶
制定文
- toc¶
目次
- Type:
ja_law_parser.model.TOC | None
- preamble¶
前文
- Type:
ja_law_parser.model.Preamble | None
- main_provision¶
本則
- suppl_provisions¶
附則
- Type:
list[ja_law_parser.model.SupplProvision] | None
- appdx_tables¶
別表
- Type:
list[ja_law_parser.model.AppdxTable] | None
- appdx_notes¶
別記
- Type:
list[ja_law_parser.model.AppdxNote] | None
- appdx_styles¶
別記様式
- Type:
list[ja_law_parser.model.AppdxStyle] | None
- appdx¶
付録
- Type:
list[ja_law_parser.model.Appdx] | None
- appdx_figs¶
別図
- Type:
list[ja_law_parser.model.AppdxFig] | None
- appdx_formats¶
別記書式
- Type:
list[ja_law_parser.model.AppdxFormat] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx': FieldInfo(annotation=Union[list[Appdx], NoneType], required=False), 'appdx_figs': FieldInfo(annotation=Union[list[AppdxFig], NoneType], required=False), 'appdx_formats': FieldInfo(annotation=Union[list[AppdxFormat], NoneType], required=False), 'appdx_notes': FieldInfo(annotation=Union[list[AppdxNote], NoneType], required=False), 'appdx_styles': FieldInfo(annotation=Union[list[AppdxStyle], NoneType], required=False), 'appdx_tables': FieldInfo(annotation=Union[list[AppdxTable], NoneType], required=False), 'enact_statement_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='EnactStatement'), 'law_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='LawTitle'), 'main_provision': FieldInfo(annotation=MainProvision, required=True), 'preamble': FieldInfo(annotation=Union[Preamble, NoneType], required=False), 'subject': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Subject'), 'suppl_provisions': FieldInfo(annotation=Union[list[SupplProvision], NoneType], required=False), 'toc': FieldInfo(annotation=Union[TOC, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.LawTitle(*, raw_element: _Element)¶
Bases:
TaggedText
題名
- kana¶
読み
- abbrev¶
略称
- abbrev_kana¶
略称読み
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Line(*, raw_element: _Element)¶
Bases:
BaseXmlModel
傍線
- style¶
線種(”solid”:実線、”dotted”:点線、”double”:二重線、”none”:無)
- contents¶
テキスト、構造引用、算式、ルビ構造、上付き文字、下付き文字
- text¶
テキスト
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.List(*, list_sentence: ListSentence, sublists1: list[Sublist1] | None = None)¶
Bases:
BaseXmlModel
列記
- list_sentence¶
列記文
- sublists1¶
列記細分1
- Type:
list[ja_law_parser.model.Sublist1] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'list_sentence': FieldInfo(annotation=ListSentence, required=True), 'sublists1': FieldInfo(annotation=Union[list[Sublist1], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ListSentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None)¶
Bases:
WithSentences
列記文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.MainProvision(*, extract: bool | None = None, parts: list[Part] | None = None, chapters: list[Chapter] | None = None, sections: list[Section] | None = None, articles: list[Article] | None = None, paragraphs: list[Paragraph] | None = None)¶
Bases:
BaseXmlModel
本則
- extract¶
抄
- Type:
bool | None
- parts¶
編
- Type:
list[ja_law_parser.model.Part] | None
- chapters¶
章
- Type:
list[ja_law_parser.model.Chapter] | None
- sections¶
節
- Type:
list[ja_law_parser.model.Section] | None
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- paragraphs¶
項
- Type:
list[ja_law_parser.model.Paragraph] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'chapters': FieldInfo(annotation=Union[list[Chapter], NoneType], required=False), 'extract': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Extract'), 'paragraphs': FieldInfo(annotation=Union[list[Paragraph], NoneType], required=False), 'parts': FieldInfo(annotation=Union[list[Part], NoneType], required=False), 'sections': FieldInfo(annotation=Union[list[Section], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.NewProvision(*, sentence_raw: list[_Element] | None = None, suppl_notes_raw: _Element | None = None, division_title_raw: _Element | None = None, subsection_title_raw: _Element | None = None, section_title_raw: _Element | None = None, chapter_title_raw: _Element | None = None, part_title_raw: _Element | None = None, law_title_raw: _Element | None = None, preamble: Preamble | None = None, toc: TOC | None = None, parts: list[Part] | None = None, chapters: list[Chapter] | None = None, sections: list[Section] | None = None, subsections: list[Subsection] | None = None, divisions: list[Division] | None = None, articles: list[Article] | None = None, paragraphs: list[Paragraph] | None = None, items: list[Item] | None = None, subitems1: list[Subitem1] | None = None, subitems2: list[Subitem2] | None = None, subitems3: list[Subitem3] | None = None, subitems4: list[Subitem4] | None = None, subitems5: list[Subitem5] | None = None, subitems6: list[Subitem6] | None = None, subitems7: list[Subitem7] | None = None, subitems8: list[Subitem8] | None = None, subitems9: list[Subitem9] | None = None, subitems10: list[Subitem10] | None = None, lists: list[List] | None = None, amend_provisions: list[AmendProvision] | None = None, appdx_tables: list[AppdxTable] | None = None, appdx_notes: list[AppdxNote] | None = None, appdx_styles: list[AppdxStyle] | None = None, appdx: list[Appdx] | None = None, appdx_figs: list[AppdxFig] | None = None, appdx_formats: list[AppdxFormat] | None = None, suppl_provision_appdx_styles: list[SupplProvisionAppdxStyle] | None = None, suppl_provision_appdx_tables: list[SupplProvisionAppdxTable] | None = None, suppl_provision_appdxs: list[SupplProvisionAppdx] | None = None, table_structs: list[TableStruct] | None = None, table_rows: list[TableRow] | None = None, table_columns: list[TableColumn] | None = None, fig_structs: list[FigStruct] | None = None, note_structs: list[NoteStruct] | None = None, style_structs: list[StyleStruct] | None = None, format_structs: list[FormatStruct] | None = None, remarks: list[Remarks] | None = None, law_body: LawBody | None = None)¶
Bases:
WithLawTitle
,WithPartTitle
,WithChapterTitle
,WithSectionTitle
,WithSubsectionTitle
,WithDivisionTitle
,WithSupplNotes
,WithSentences
新規定
- law_title¶
題名
- preamble¶
前文
- Type:
ja_law_parser.model.Preamble | None
- toc¶
目次
- Type:
ja_law_parser.model.TOC | None
- parts¶
編
- Type:
list[ja_law_parser.model.Part] | None
- part_title¶
編名
- chapters¶
章
- Type:
list[ja_law_parser.model.Chapter] | None
- chapter_title¶
章名
- sections¶
節
- Type:
list[ja_law_parser.model.Section] | None
- section_title¶
節名
- subsections¶
款
- Type:
list[ja_law_parser.model.Subsection] | None
- subsection_title¶
款名
- divisions¶
目
- Type:
list[ja_law_parser.model.Division] | None
- division_title¶
目名
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- suppl_notes¶
付記
- paragraphs¶
項
- Type:
list[ja_law_parser.model.Paragraph] | None
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- subitems1¶
号細分
- Type:
list[ja_law_parser.model.Subitem1] | None
- subitems2¶
号細分2
- Type:
list[ja_law_parser.model.Subitem2] | None
- subitems3¶
号細分3
- Type:
list[ja_law_parser.model.Subitem3] | None
- subitems4¶
号細分4
- Type:
list[ja_law_parser.model.Subitem4] | None
- subitems5¶
号細分5
- Type:
list[ja_law_parser.model.Subitem5] | None
- subitems6¶
号細分6
- Type:
list[ja_law_parser.model.Subitem6] | None
- subitems7¶
号細分7
- Type:
list[ja_law_parser.model.Subitem7] | None
- subitems8¶
号細分8
- Type:
list[ja_law_parser.model.Subitem8] | None
- subitems9¶
号細分9
- Type:
list[ja_law_parser.model.Subitem9] | None
- subitems10¶
号細分10
- Type:
list[ja_law_parser.model.Subitem10] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- sentences¶
段
- amend_provisions¶
改正規定
- Type:
list[ja_law_parser.model.AmendProvision] | None
- appdx_tables¶
別表
- Type:
list[ja_law_parser.model.AppdxTable] | None
- appdx_notes¶
別記
- Type:
list[ja_law_parser.model.AppdxNote] | None
- appdx_styles¶
別記様式
- Type:
list[ja_law_parser.model.AppdxStyle] | None
- appdx¶
付録
- Type:
list[ja_law_parser.model.Appdx] | None
- appdx_figs¶
別図
- Type:
list[ja_law_parser.model.AppdxFig] | None
- appdx_formats¶
別記書式
- Type:
list[ja_law_parser.model.AppdxFormat] | None
- suppl_provision_appdx_styles¶
附則様式
- Type:
list[ja_law_parser.model.SupplProvisionAppdxStyle] | None
- suppl_provision_appdx_tables¶
附則別表
- Type:
list[ja_law_parser.model.SupplProvisionAppdxTable] | None
- suppl_provision_appdxs¶
附則付録
- Type:
list[ja_law_parser.model.SupplProvisionAppdx] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- table_rows¶
表項
- Type:
list[ja_law_parser.model.TableRow] | None
- table_columns¶
表欄
- Type:
list[ja_law_parser.model.TableColumn] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- note_structs¶
記項目
- Type:
list[ja_law_parser.model.NoteStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- format_structs¶
書式項目
- Type:
list[ja_law_parser.model.FormatStruct] | None
- remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- law_body¶
法令本体
- Type:
ja_law_parser.model.LawBody | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'amend_provisions': FieldInfo(annotation=Union[list[AmendProvision], NoneType], required=False), 'appdx': FieldInfo(annotation=Union[list[Appdx], NoneType], required=False), 'appdx_figs': FieldInfo(annotation=Union[list[AppdxFig], NoneType], required=False), 'appdx_formats': FieldInfo(annotation=Union[list[AppdxFormat], NoneType], required=False), 'appdx_notes': FieldInfo(annotation=Union[list[AppdxNote], NoneType], required=False), 'appdx_styles': FieldInfo(annotation=Union[list[AppdxStyle], NoneType], required=False), 'appdx_tables': FieldInfo(annotation=Union[list[AppdxTable], NoneType], required=False), 'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'chapter_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ChapterTitle'), 'chapters': FieldInfo(annotation=Union[list[Chapter], NoneType], required=False), 'division_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='DivisionTitle'), 'divisions': FieldInfo(annotation=Union[list[Division], NoneType], required=False), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'format_structs': FieldInfo(annotation=Union[list[FormatStruct], NoneType], required=False), 'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'law_body': FieldInfo(annotation=Union[LawBody, NoneType], required=False), 'law_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='LawTitle'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'note_structs': FieldInfo(annotation=Union[list[NoteStruct], NoneType], required=False), 'paragraphs': FieldInfo(annotation=Union[list[Paragraph], NoneType], required=False), 'part_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='PartTitle'), 'parts': FieldInfo(annotation=Union[list[Part], NoneType], required=False), 'preamble': FieldInfo(annotation=Union[Preamble, NoneType], required=False), 'remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'section_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SectionTitle'), 'sections': FieldInfo(annotation=Union[list[Section], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitems1': FieldInfo(annotation=Union[list[Subitem1], NoneType], required=False), 'subitems10': FieldInfo(annotation=Union[list[Subitem10], NoneType], required=False), 'subitems2': FieldInfo(annotation=Union[list[Subitem2], NoneType], required=False), 'subitems3': FieldInfo(annotation=Union[list[Subitem3], NoneType], required=False), 'subitems4': FieldInfo(annotation=Union[list[Subitem4], NoneType], required=False), 'subitems5': FieldInfo(annotation=Union[list[Subitem5], NoneType], required=False), 'subitems6': FieldInfo(annotation=Union[list[Subitem6], NoneType], required=False), 'subitems7': FieldInfo(annotation=Union[list[Subitem7], NoneType], required=False), 'subitems8': FieldInfo(annotation=Union[list[Subitem8], NoneType], required=False), 'subitems9': FieldInfo(annotation=Union[list[Subitem9], NoneType], required=False), 'subsection_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SubsectionTitle'), 'subsections': FieldInfo(annotation=Union[list[Subsection], NoneType], required=False), 'suppl_notes_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplNote'), 'suppl_provision_appdx_styles': FieldInfo(annotation=Union[list[SupplProvisionAppdxStyle], NoneType], required=False), 'suppl_provision_appdx_tables': FieldInfo(annotation=Union[list[SupplProvisionAppdxTable], NoneType], required=False), 'suppl_provision_appdxs': FieldInfo(annotation=Union[list[SupplProvisionAppdx], NoneType], required=False), 'table_columns': FieldInfo(annotation=Union[list[TableColumn], NoneType], required=False), 'table_rows': FieldInfo(annotation=Union[list[TableRow], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False), 'toc': FieldInfo(annotation=Union[TOC, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Note(*, sentence_raw: list[_Element] | None = None, figs: list[Fig] | None = None, items: list[Item] | None = None, arith_formulas: list[ArithFormula] | None = None, lists: list[List] | None = None)¶
Bases:
WithSentences
記
- sentences¶
段
- figs¶
図
- Type:
list[ja_law_parser.model.Fig] | None
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- arith_formulas¶
算式
- Type:
list[ja_law_parser.model.ArithFormula] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'arith_formulas': FieldInfo(annotation=Union[list[ArithFormula], NoneType], required=False), 'figs': FieldInfo(annotation=Union[list[Fig], NoneType], required=False), 'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.NoteStruct(*, note_struct_title_raw: _Element | None = None, pre_remarks: list[Remarks] | None = None, note: Note, post_remarks: list[Remarks] | None = None)¶
Bases:
WithNoteStructTitle
様式項目
- note_struct_title¶
様式項目名
- pre_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- note¶
記
- Type:
- post_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'note': FieldInfo(annotation=Note, required=True), 'note_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='NoteStructTitle'), 'post_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'pre_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.NoteStructTitle(*, raw_element: _Element)¶
Bases:
TaggedText
記項名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Paragraph(*, paragraph_num_raw: _Element = None, paragraph_caption_raw: _Element | None = None, num: int, old_style: bool | None = None, old_num: bool | None = None, hide: bool | None = None, paragraph_sentence: ParagraphSentence, amend_provisions: list[AmendProvision] | None = None, classes: list[Class] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, items: list[Item] | None = None, lists: list[List] | None = None)¶
Bases:
WithParagraphCaption
,WithParagraphNum
項
- num¶
番号
- Type:
int
- old_style¶
旧スタイル
- Type:
bool | None
- old_num¶
旧番号
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
条名
- paragraph_num¶
項番号
- paragraph_sentence¶
項文
- amend_provisions¶
改正規定
- Type:
list[ja_law_parser.model.AmendProvision] | None
- classes¶
類
- Type:
list[ja_law_parser.model.Class] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'amend_provisions': FieldInfo(annotation=Union[list[AmendProvision], NoneType], required=False), 'classes': FieldInfo(annotation=Union[list[Class], NoneType], required=False), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=int, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'old_num': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='OldNum'), 'old_style': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='OldStyle'), 'paragraph_caption_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ParagraphCaption'), 'paragraph_num_raw': XmlEntityInfo(annotation=_Element, required=False, location=<EntityLocation.ELEMENT: 1>, path='ParagraphNum'), 'paragraph_sentence': FieldInfo(annotation=ParagraphSentence, required=True), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ParagraphCaption(*, raw_element: _Element, common_caption: bool | None = None)¶
Bases:
TaggedText
項見出し
共通見出し
- Type:
bool | None
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'common_caption': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='CommonCaption'), 'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ParagraphNum(*, raw_element: _Element)¶
Bases:
TaggedText
項番号
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.ParagraphSentence(*, sentence_raw: list[_Element] | None = None)¶
Bases:
WithSentences
項文
- sentences¶
段
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Part(*, part_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, articles: list[Article] | None = None, chapters: list[Chapter] | None = None)¶
Bases:
WithPartTitle
編
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- part_title¶
編名
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- chapters¶
章
- Type:
list[ja_law_parser.model.Chapter] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'chapters': FieldInfo(annotation=Union[list[Chapter], NoneType], required=False), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'part_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='PartTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.PartTitle(*, raw_element: _Element)¶
Bases:
TaggedText
編名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Preamble(*, paragraphs: list[Paragraph])¶
Bases:
BaseXmlModel
前文
- paragraphs¶
項
- Type:
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'paragraphs': FieldInfo(annotation=list[Paragraph], required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.QuoteStruct(*, raw_element: _Element)¶
Bases:
BaseXmlModel
構造引用
- contents¶
テキスト、段、図
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.RelatedArticleNum(*, raw_element: _Element)¶
Bases:
TaggedText
関係条文番号
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Remarks(*, sentence_raw: list[_Element] | None = None, remarks_label_raw: _Element | None = None, items: list[Item] | None = None)¶
Bases:
WithRemarksLabel
,WithSentences
備考
- remarks_label¶
備考ラベル
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- sentences¶
段
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'remarks_label_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RemarksLabel'), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.RemarksLabel(*, raw_element: _Element, line_break: bool | None = None)¶
Bases:
TaggedText
備考ラベル
- line_break¶
改行
- Type:
bool | None
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'line_break': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>), 'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Ruby(*, rt: list[str] | None, text: str)¶
Bases:
BaseXmlModel
ルビ構造
- rt¶
ルビ
- Type:
list[str] | None
- text¶
テキスト
- Type:
str
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'rt': XmlEntityInfo(annotation=Union[list[str], NoneType], required=True, location=<EntityLocation.ELEMENT: 1>, path='Rt'), 'text': FieldInfo(annotation=str, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Section(*, section_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, articles: list[Article] | None = None, subsections: list[Subsection] | None = None, divisions: list[Division] | None = None)¶
Bases:
WithSectionTitle
節
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- section_title¶
節名
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- subsections¶
款
- Type:
list[ja_law_parser.model.Subsection] | None
- divisions¶
目
- Type:
list[ja_law_parser.model.Division] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'divisions': FieldInfo(annotation=Union[list[Division], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'section_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SectionTitle'), 'subsections': FieldInfo(annotation=Union[list[Subsection], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SectionTitle(*, raw_element: _Element)¶
Bases:
TaggedText
節名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sentence(*, raw_element: _Element)¶
Bases:
WithWritingMode
段
- num¶
番号
- function¶
機能(”main”:本文、”proviso”:ただし書)
- indent¶
インデント(”Paragraph”:項、”Item”:号、”Subitem1”:号細分、”Subitem2”:号細分2、
- "Subitem3":号細分3、"Subitem4":号細分4、"Subitem5":号細分5、"Subitem6":号細分6、
- "Subitem7":号細分7、"Subitem8":号細分8、"Subitem9":号細分9、"Subitem10":号細分10)
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Style(*, figs: list[Fig] | None = None)¶
Bases:
BaseXmlModel
様式
- figs¶
図
- Type:
list[ja_law_parser.model.Fig] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'figs': FieldInfo(annotation=Union[list[Fig], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.StyleStruct(*, style_struct_title_raw: _Element | None = None, pre_remarks: list[Remarks] | None = None, style: Style, post_remarks: list[Remarks] | None = None)¶
Bases:
WithStyleStructTitle
様式項目
- style_struct_title¶
様式項目名
- pre_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- style¶
様式
- post_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'post_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'pre_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'style': FieldInfo(annotation=Style, required=True), 'style_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='StyleStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.StyleStructTitle(*, raw_element: _Element)¶
Bases:
TaggedText
様式項目名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sub(*, text: str)¶
Bases:
BaseXmlModel
下付き文字
- text¶
テキスト
- Type:
str
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'text': FieldInfo(annotation=str, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem1(*, subitem1_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem1_sentence: Subitem1Sentence, subitems2: list[Subitem2] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem1Title
号細分
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem1_title¶
号細分名
- subitem1_sentence¶
号細分文
- subitems2¶
号細分2
- Type:
list[ja_law_parser.model.Subitem2] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem1_sentence': FieldInfo(annotation=Subitem1Sentence, required=True), 'subitem1_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem1Title'), 'subitems2': FieldInfo(annotation=Union[list[Subitem2], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem10(*, subitem10_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem10_sentence: Subitem10Sentence, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem10Title
号細分10
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem10_title¶
号細分10名
- subitem10_sentence¶
号細分10文
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem10_sentence': FieldInfo(annotation=Subitem10Sentence, required=True), 'subitem10_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem10Title'), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem10Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分10文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem10Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分10名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem1Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem1Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem2(*, subitem2_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem2_sentence: Subitem2Sentence, subitems3: list[Subitem3] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem2Title
号細分2
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem2_title¶
号細分2名
- subitem2_sentence¶
号細分2文
- subitems3¶
号細分3
- Type:
list[ja_law_parser.model.Subitem3] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem2_sentence': FieldInfo(annotation=Subitem2Sentence, required=True), 'subitem2_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem2Title'), 'subitems3': FieldInfo(annotation=Union[list[Subitem3], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem2Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分2文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem2Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分2名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem3(*, subitem3_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem3_sentence: Subitem3Sentence, subitems4: list[Subitem4] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem3Title
号細分3
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem3_title¶
号細分3名
- subitem3_sentence¶
号細分3文
- subitems4¶
号細分4
- Type:
list[ja_law_parser.model.Subitem4] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem3_sentence': FieldInfo(annotation=Subitem3Sentence, required=True), 'subitem3_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem3Title'), 'subitems4': FieldInfo(annotation=Union[list[Subitem4], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem3Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分3文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem3Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分3名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem4(*, subitem4_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem4_sentence: Subitem4Sentence, subitems5: list[Subitem5] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem4Title
号細分4
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem4_title¶
号細分4名
- subitem4_sentence¶
号細分4文
- subitems5¶
号細分5
- Type:
list[ja_law_parser.model.Subitem5] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem4_sentence': FieldInfo(annotation=Subitem4Sentence, required=True), 'subitem4_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem4Title'), 'subitems5': FieldInfo(annotation=Union[list[Subitem5], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem4Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分4文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem4Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分4名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem5(*, subitem5_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem5_sentence: Subitem5Sentence, subitems6: list[Subitem6] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem5Title
号細分5
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem5_title¶
号細分5名
- subitem5_sentence¶
号細分5文
- subitems6¶
号細分6
- Type:
list[ja_law_parser.model.Subitem6] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem5_sentence': FieldInfo(annotation=Subitem5Sentence, required=True), 'subitem5_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem5Title'), 'subitems6': FieldInfo(annotation=Union[list[Subitem6], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem5Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分5文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem5Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分5名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem6(*, subitem6_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem6_sentence: Subitem6Sentence, subitems7: list[Subitem7] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem6Title
号細分6
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem6_title¶
号細分6名
- subitem6_sentence¶
号細分6文
- subitems7¶
号細分7
- Type:
list[ja_law_parser.model.Subitem7] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem6_sentence': FieldInfo(annotation=Subitem6Sentence, required=True), 'subitem6_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem6Title'), 'subitems7': FieldInfo(annotation=Union[list[Subitem7], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem6Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分6文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem6Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分6名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem7(*, subitem7_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem7_sentence: Subitem7Sentence, subitems8: list[Subitem8] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem7Title
号細分7
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem7_title¶
号細分7名
- subitem7_sentence¶
号細分7文
- subitems8¶
号細分8
- Type:
list[ja_law_parser.model.Subitem8] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem7_sentence': FieldInfo(annotation=Subitem7Sentence, required=True), 'subitem7_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem7Title'), 'subitems8': FieldInfo(annotation=Union[list[Subitem8], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem7Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分7文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem7Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分7名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem8(*, subitem8_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem8_sentence: Subitem8Sentence, subitems9: list[Subitem9] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem8Title
号細分8
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem8_title¶
号細分8名
- subitem8_sentence¶
号細分8文
- subitems9¶
号細分9
- Type:
list[ja_law_parser.model.Subitem9] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem8_sentence': FieldInfo(annotation=Subitem8Sentence, required=True), 'subitem8_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem8Title'), 'subitems9': FieldInfo(annotation=Union[list[Subitem9], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem8Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分8文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem8Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分8名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem9(*, subitem9_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, subitem9_sentence: Subitem9Sentence, subitems10: list[Subitem10] | None = None, table_structs: list[TableStruct] | None = None, fig_structs: list[FigStruct] | None = None, style_structs: list[StyleStruct] | None = None, lists: list[List] | None = None)¶
Bases:
WithSubitem9Title
号細分9
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subitem9_title¶
号細分9名
- subitem9_sentence¶
号細分9文
- subitems10¶
号細分10
- Type:
list[ja_law_parser.model.Subitem10] | None
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- lists¶
列記
- Type:
list[ja_law_parser.model.List] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'lists': FieldInfo(annotation=Union[list[List], NoneType], required=False), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'subitem9_sentence': FieldInfo(annotation=Subitem9Sentence, required=True), 'subitem9_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem9Title'), 'subitems10': FieldInfo(annotation=Union[list[Subitem10], NoneType], required=False), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem9Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None, table: Table | None = None)¶
Bases:
WithSentences
号細分9文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- table¶
表
- Type:
ja_law_parser.model.Table | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'table': FieldInfo(annotation=Union[Table, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subitem9Title(*, raw_element: _Element)¶
Bases:
TaggedText
号細分9名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sublist1(*, sublist1_sentence: Sublist1Sentence, sublists2: list[Sublist2] | None = None)¶
Bases:
BaseXmlModel
列記細分1
- sublist1_sentence¶
列記細分1文
- sublists2¶
列記細分2
- Type:
list[ja_law_parser.model.Sublist2] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'sublist1_sentence': FieldInfo(annotation=Sublist1Sentence, required=True), 'sublists2': FieldInfo(annotation=Union[list[Sublist2], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sublist1Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None)¶
Bases:
WithSentences
列記細分1文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sublist2(*, sublist2_sentence: Sublist2Sentence, sublists3: list[Sublist3] | None = None)¶
Bases:
BaseXmlModel
列記細分2
- sublist2_sentence¶
列記細分2文
- sublists3¶
列記細分3
- Type:
list[ja_law_parser.model.Sublist3] | None
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'sublist2_sentence': FieldInfo(annotation=Sublist2Sentence, required=True), 'sublists3': FieldInfo(annotation=Union[list[Sublist3], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sublist2Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None)¶
Bases:
WithSentences
列記細分2文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sublist3(*, sublist3_sentence: Sublist3Sentence)¶
Bases:
BaseXmlModel
列記細分3
- sublist1_sentence¶
列記細分3文
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'sublist3_sentence': FieldInfo(annotation=Sublist3Sentence, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sublist3Sentence(*, sentence_raw: list[_Element] | None = None, columns: list[Column] | None = None)¶
Bases:
WithSentences
列記細分3文
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Subsection(*, subsection_title_raw: _Element | None = None, num: str, delete: bool | None = None, hide: bool | None = None, articles: list[Article] | None = None, divisions: list[Division] | None = None)¶
Bases:
WithSubsectionTitle
款
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- hide¶
非表示
- Type:
bool | None
- subsection_title¶
款名
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- divisions¶
目
- Type:
list[ja_law_parser.model.Division] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'divisions': FieldInfo(annotation=Union[list[Division], NoneType], required=False), 'hide': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Hide'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'subsection_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SubsectionTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SubsectionTitle(*, raw_element: _Element)¶
Bases:
TaggedText
款名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Sup(*, text: str)¶
Bases:
BaseXmlModel
上付き文字
- text¶
テキスト
- Type:
str
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'text': FieldInfo(annotation=str, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplNote(*, raw_element: _Element)¶
Bases:
TaggedText
付記
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvision(*, suppl_provision_label_raw: _Element | None = None, type: Literal['New', 'Amend'] | None = None, amend_law_num: str | None = None, extract: bool | None = None, chapters: list[Chapter] | None = None, articles: list[Article] | None = None, paragraphs: list[Paragraph] | None = None, suppl_provision_appdx_tables: list[SupplProvisionAppdxTable] | None = None, suppl_provision_appdx_styles: list[SupplProvisionAppdxStyle] | None = None, suppl_provision_appdx: list[SupplProvisionAppdx] | None = None)¶
Bases:
WithSupplProvisionLabel
附則
- type¶
種類(”New”:制定、”Amend”:改正)
- Type:
Literal[‘New’, ‘Amend’] | None
- amend_law_num¶
改正法令番号
- Type:
str | None
- extract¶
抄
- Type:
bool | None
- suppl_provision_label¶
附則ラベル
- chapters¶
章
- Type:
list[ja_law_parser.model.Chapter] | None
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- paragraphs¶
項
- Type:
list[ja_law_parser.model.Paragraph] | None
- suppl_provision_appdx_tables¶
附則別表
- Type:
list[ja_law_parser.model.SupplProvisionAppdxTable] | None
- suppl_provision_appdx_styles¶
附則様式
- Type:
list[ja_law_parser.model.SupplProvisionAppdxStyle] | None
- suppl_provision_appdx¶
附則付録
- Type:
list[ja_law_parser.model.SupplProvisionAppdx] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'amend_law_num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='AmendLawNum'), 'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'chapters': FieldInfo(annotation=Union[list[Chapter], NoneType], required=False), 'extract': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Extract'), 'paragraphs': FieldInfo(annotation=Union[list[Paragraph], NoneType], required=False), 'suppl_provision_appdx': FieldInfo(annotation=Union[list[SupplProvisionAppdx], NoneType], required=False), 'suppl_provision_appdx_styles': FieldInfo(annotation=Union[list[SupplProvisionAppdxStyle], NoneType], required=False), 'suppl_provision_appdx_tables': FieldInfo(annotation=Union[list[SupplProvisionAppdxTable], NoneType], required=False), 'suppl_provision_label_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionLabel'), 'type': XmlEntityInfo(annotation=Union[Literal['New', 'Amend'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Type')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvisionAppdx(*, related_article_num_raw: _Element | None = None, arith_formula_num_raw: _Element | None = None, num: str | None = None, arith_formulas: list[ArithFormula] | None = None)¶
Bases:
WithArithFormulaNum
,WithRelatedArticleNum
附則付録
- num¶
番号
- Type:
str | None
- arith_formula_num¶
算式番号
関係条文番号
- arith_formulas¶
算式
- Type:
list[ja_law_parser.model.ArithFormula] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'arith_formula_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArithFormulaNum'), 'arith_formulas': FieldInfo(annotation=Union[list[ArithFormula], NoneType], required=False), 'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvisionAppdxStyle(*, related_article_num_raw: _Element | None = None, suppl_provision_appdx_style_title_raw: _Element | None = None, num: str | None = None, style_structs: list[StyleStruct] | None = None)¶
Bases:
WithSupplProvisionAppdxStyleTitle
,WithRelatedArticleNum
附則様式
- num¶
番号
- Type:
str | None
- suppl_provision_appdx_style_title¶
附則様式名
関係条文番号
- style_structs¶
様式項目
- Type:
list[ja_law_parser.model.StyleStruct] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'style_structs': FieldInfo(annotation=Union[list[StyleStruct], NoneType], required=False), 'suppl_provision_appdx_style_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionAppdxStyleTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvisionAppdxStyleTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
附則様式名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvisionAppdxTable(*, related_article_num_raw: _Element | None = None, suppl_provision_appdx_table_title_raw: _Element | None = None, num: str | None = None, table_structs: list[TableStruct] | None = None)¶
Bases:
WithSupplProvisionAppdxTableTitle
,WithRelatedArticleNum
附則別表
- num¶
番号
- Type:
str | None
- suppl_provision_appdx_table_title¶
附則別表名
関係条文番号
- table_structs¶
表項目
- Type:
list[ja_law_parser.model.TableStruct] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'num': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum'), 'suppl_provision_appdx_table_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionAppdxTableTitle'), 'table_structs': FieldInfo(annotation=Union[list[TableStruct], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvisionAppdxTableTitle(*, raw_element: _Element)¶
Bases:
TaggedText
附則別表名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.SupplProvisionLabel(*, raw_element: _Element)¶
Bases:
TaggedText
附則ラベル
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOC(*, toc_appdx_table_labels_raw: _Element | None = None, toc_label: str | None = None, toc_preamble_label: str | None = None, toc_parts: list[TOCPart] | None = None, toc_chapters: list[TOCChapter] | None = None, toc_sections: list[TOCSection] | None = None, toc_articles: list[TOCArticle] | None = None, toc_suppl_provision: TOCSupplProvision | None = None)¶
Bases:
WithTOCAppdxTableLabels
目次
- toc_label¶
目次ラベル
- Type:
str | None
- toc_preamble_label¶
目次前文ラベル
- Type:
str | None
- toc_parts¶
目次編
- Type:
list[ja_law_parser.model.TOCPart] | None
- toc_chapters¶
目次章
- Type:
list[ja_law_parser.model.TOCChapter] | None
- toc_sections¶
目次節
- Type:
list[ja_law_parser.model.TOCSection] | None
- toc_articles¶
目次条
- Type:
list[ja_law_parser.model.TOCArticle] | None
- toc_suppl_provision¶
目次附則
- Type:
- toc_appdx_table_labels¶
目次別表ラベル
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'toc_appdx_table_labels_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TOCAppdxTableLabel'), 'toc_articles': FieldInfo(annotation=Union[list[TOCArticle], NoneType], required=False), 'toc_chapters': FieldInfo(annotation=Union[list[TOCChapter], NoneType], required=False), 'toc_label': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TOCLabel'), 'toc_parts': FieldInfo(annotation=Union[list[TOCPart], NoneType], required=False), 'toc_preamble_label': XmlEntityInfo(annotation=Union[str, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TOCPreambleLabel'), 'toc_sections': FieldInfo(annotation=Union[list[TOCSection], NoneType], required=False), 'toc_suppl_provision': FieldInfo(annotation=Union[TOCSupplProvision, NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCAppdxTableLabel(*, raw_element: _Element)¶
Bases:
TaggedText
目次別表ラベル
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCArticle(*, article_caption_raw: _Element | None = None, article_title_raw: _Element | None = None, num: str, delete: bool | None = None)¶
Bases:
WithArticleTitle
,WithArticleCaption
目次条
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- article_title¶
条名
条見出し
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_caption_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleCaption'), 'article_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleTitle'), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCChapter(*, article_range_raw: _Element | None = None, chapter_title_raw: _Element | None = None, num: str, delete: bool | None = None, toc_sections: list[TOCSection] | None = None)¶
Bases:
WithChapterTitle
,WithArticleRange
目次章
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- chapter_title¶
章名
- article_range¶
条範囲
- toc_section¶
目次節
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_range_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleRange'), 'chapter_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ChapterTitle'), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'toc_sections': FieldInfo(annotation=Union[list[TOCSection], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCDivision(*, article_range_raw: _Element | None = None, division_title_raw: _Element | None = None)¶
Bases:
WithDivisionTitle
,WithArticleRange
目次目
- division_title¶
目名
- article_range¶
条範囲
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_range_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleRange'), 'division_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='DivisionTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCPart(*, part_title_raw: _Element | None = None, num: str, delete: bool | None = None, toc_chapters: list[TOCChapter] | None = None)¶
Bases:
WithPartTitle
目次編
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- part_title¶
編名
- toc_chapter¶
目次章
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'part_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='PartTitle'), 'toc_chapters': FieldInfo(annotation=Union[list[TOCChapter], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCSection(*, article_range_raw: _Element | None = None, section_title_raw: _Element | None = None, num: str, delete: bool | None = None, toc_subsections: list[TOCSubsection] | None = None, toc_divisions: list[TOCDivision] | None = None)¶
Bases:
WithSectionTitle
,WithArticleRange
目次節
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- section_title¶
節名
- article_range¶
条範囲
- toc_subsections¶
目次款
- Type:
list[ja_law_parser.model.TOCSubsection] | None
- toc_divisions¶
目次目
- Type:
list[ja_law_parser.model.TOCDivision] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_range_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleRange'), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'section_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SectionTitle'), 'toc_divisions': FieldInfo(annotation=Union[list[TOCDivision], NoneType], required=False), 'toc_subsections': FieldInfo(annotation=Union[list[TOCSubsection], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCSubsection(*, article_range_raw: _Element | None = None, subsection_title_raw: _Element | None = None, num: str, delete: bool | None = None, toc_divisions: list[TOCDivision] | None = None)¶
Bases:
WithSubsectionTitle
,WithArticleRange
目次款
- num¶
番号
- Type:
str
- delete¶
削除
- Type:
bool | None
- subsection_title¶
款名
- article_range¶
条範囲
- toc_divisions¶
目次目
- Type:
list[ja_law_parser.model.TOCDivision] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_range_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleRange'), 'delete': XmlEntityInfo(annotation=Union[bool, NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Delete'), 'num': XmlEntityInfo(annotation=str, required=True, location=<EntityLocation.ATTRIBUTE: 2>, path='Num'), 'subsection_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SubsectionTitle'), 'toc_divisions': FieldInfo(annotation=Union[list[TOCDivision], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TOCSupplProvision(*, article_range_raw: _Element | None = None, suppl_provision_label_raw: _Element | None = None, toc_articles: list[TOCArticle] | None = None, toc_chapters: list[TOCChapter] | None = None)¶
Bases:
WithSupplProvisionLabel
,WithArticleRange
目次附則
- suppl_provision_label¶
附則ラベル
- article_range¶
条範囲
- toc_articles¶
目次条
- Type:
list[ja_law_parser.model.TOCArticle] | None
- toc_chapters¶
目次章
- Type:
list[ja_law_parser.model.TOCChapter] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_range_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleRange'), 'suppl_provision_label_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionLabel'), 'toc_articles': FieldInfo(annotation=Union[list[TOCArticle], NoneType], required=False), 'toc_chapters': FieldInfo(annotation=Union[list[TOCChapter], NoneType], required=False)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Table(*, writing_mode: Literal['vertical', 'horizontal'] | None = None, table_header_rows: list[TableHeaderRow] | None = None, table_rows: list[TableRow])¶
Bases:
BaseXmlModel
表
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- Type:
Literal[‘vertical’, ‘horizontal’] | None
- table_header_row¶
表欄名項
- table_row¶
表項
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'table_header_rows': FieldInfo(annotation=Union[list[TableHeaderRow], NoneType], required=False), 'table_rows': FieldInfo(annotation=list[TableRow], required=True), 'writing_mode': XmlEntityInfo(annotation=Union[Literal['vertical', 'horizontal'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='WritingMode')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TableColumn(*, sentence_raw: list[_Element] | None = None, border_top: Literal['solid', 'dotted', 'double', 'none'] | None = None, border_bottom: Literal['solid', 'dotted', 'double', 'none'] | None = None, border_left: Literal['solid', 'dotted', 'double', 'none'] | None = None, border_right: Literal['solid', 'dotted', 'double', 'none'] | None = None, rowspan: int | None = None, colspan: int | None = None, align: Literal['left', 'center', 'right', 'justify'] | None = None, valign: Literal['top', 'middle', 'bottom'] | None = None, parts: list[Part] | None = None, chapters: list[Chapter] | None = None, sections: list[Section] | None = None, subsections: list[Subsection] | None = None, divisions: list[Division] | None = None, articles: list[Article] | None = None, paragraphs: list[Paragraph] | None = None, items: list[Item] | None = None, subitems1: list[Subitem1] | None = None, subitems2: list[Subitem2] | None = None, subitems3: list[Subitem3] | None = None, subitems4: list[Subitem4] | None = None, subitems5: list[Subitem5] | None = None, subitems6: list[Subitem6] | None = None, subitems7: list[Subitem7] | None = None, subitems8: list[Subitem8] | None = None, subitems9: list[Subitem9] | None = None, subitems10: list[Subitem10] | None = None, fig_structs: list[FigStruct] | None = None, remarks: Remarks | None = None, columns: list[Column] | None = None)¶
Bases:
WithSentences
表欄
- border_top¶
上罫線(”solid”:実線、”dotted”:点線、”double”:二重線、”none”:無)
- Type:
Literal[‘solid’, ‘dotted’, ‘double’, ‘none’] | None
- border_bottom¶
下罫線(”solid”:実線、”dotted”:点線、”double”:二重線、”none”:無)
- Type:
Literal[‘solid’, ‘dotted’, ‘double’, ‘none’] | None
- border_left¶
左罫線(”solid”:実線、”dotted”:点線、”double”:二重線、”none”:無)
- Type:
Literal[‘solid’, ‘dotted’, ‘double’, ‘none’] | None
- border_right¶
右罫線(”solid”:実線、”dotted”:点線、”double”:二重線、”none”:無)
- Type:
Literal[‘solid’, ‘dotted’, ‘double’, ‘none’] | None
- rowspan¶
項結合
- Type:
int | None
- colspan¶
欄結合
- Type:
int | None
- align¶
欄位置(”left”:左詰め、”center”:中央寄せ、”right”:右詰め、”justify”:均等割り付け)
- Type:
Literal[‘left’, ‘center’, ‘right’, ‘justify’] | None
- valign¶
項位置(”top”:上寄せ、”middle”:中央寄せ、”bottom”:下寄せ)
- Type:
Literal[‘top’, ‘middle’, ‘bottom’] | None
- parts¶
編
- Type:
list[ja_law_parser.model.Part] | None
- chapters¶
章
- Type:
list[ja_law_parser.model.Chapter] | None
- sections¶
節
- Type:
list[ja_law_parser.model.Section] | None
- subsections¶
款
- Type:
list[ja_law_parser.model.Subsection] | None
- divisions¶
目
- Type:
list[ja_law_parser.model.Division] | None
- articles¶
条
- Type:
list[ja_law_parser.model.Article] | None
- paragraphs¶
項
- Type:
list[ja_law_parser.model.Paragraph] | None
- items¶
号
- Type:
list[ja_law_parser.model.Item] | None
- subitems1¶
号細分
- Type:
list[ja_law_parser.model.Subitem1] | None
- subitems2¶
号細分2
- Type:
list[ja_law_parser.model.Subitem2] | None
- subitems3¶
号細分3
- Type:
list[ja_law_parser.model.Subitem3] | None
- subitems4¶
号細分4
- Type:
list[ja_law_parser.model.Subitem4] | None
- subitems5¶
号細分5
- Type:
list[ja_law_parser.model.Subitem5] | None
- subitems6¶
号細分6
- Type:
list[ja_law_parser.model.Subitem6] | None
- subitems7¶
号細分7
- Type:
list[ja_law_parser.model.Subitem7] | None
- subitems8¶
号細分8
- Type:
list[ja_law_parser.model.Subitem8] | None
- subitems9¶
号細分9
- Type:
list[ja_law_parser.model.Subitem9] | None
- subitems10¶
号細分10
- Type:
list[ja_law_parser.model.Subitem10] | None
- fig_structs¶
図項目
- Type:
list[ja_law_parser.model.FigStruct] | None
- remarks¶
備考
- Type:
ja_law_parser.model.Remarks | None
- sentences¶
段
- columns¶
欄
- Type:
list[ja_law_parser.model.Column] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'align': XmlEntityInfo(annotation=Union[Literal['left', 'center', 'right', 'justify'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Align'), 'articles': FieldInfo(annotation=Union[list[Article], NoneType], required=False), 'border_bottom': XmlEntityInfo(annotation=Union[Literal['solid', 'dotted', 'double', 'none'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='BorderBottom'), 'border_left': XmlEntityInfo(annotation=Union[Literal['solid', 'dotted', 'double', 'none'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='BorderLeft'), 'border_right': XmlEntityInfo(annotation=Union[Literal['solid', 'dotted', 'double', 'none'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='BorderRight'), 'border_top': XmlEntityInfo(annotation=Union[Literal['solid', 'dotted', 'double', 'none'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='BorderTop'), 'chapters': FieldInfo(annotation=Union[list[Chapter], NoneType], required=False), 'colspan': XmlEntityInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='colspan'), 'columns': FieldInfo(annotation=Union[list[Column], NoneType], required=False), 'divisions': FieldInfo(annotation=Union[list[Division], NoneType], required=False), 'fig_structs': FieldInfo(annotation=Union[list[FigStruct], NoneType], required=False), 'items': FieldInfo(annotation=Union[list[Item], NoneType], required=False), 'paragraphs': FieldInfo(annotation=Union[list[Paragraph], NoneType], required=False), 'parts': FieldInfo(annotation=Union[list[Part], NoneType], required=False), 'remarks': FieldInfo(annotation=Union[Remarks, NoneType], required=False), 'rowspan': XmlEntityInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='rowspan'), 'sections': FieldInfo(annotation=Union[list[Section], NoneType], required=False), 'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence'), 'subitems1': FieldInfo(annotation=Union[list[Subitem1], NoneType], required=False), 'subitems10': FieldInfo(annotation=Union[list[Subitem10], NoneType], required=False), 'subitems2': FieldInfo(annotation=Union[list[Subitem2], NoneType], required=False), 'subitems3': FieldInfo(annotation=Union[list[Subitem3], NoneType], required=False), 'subitems4': FieldInfo(annotation=Union[list[Subitem4], NoneType], required=False), 'subitems5': FieldInfo(annotation=Union[list[Subitem5], NoneType], required=False), 'subitems6': FieldInfo(annotation=Union[list[Subitem6], NoneType], required=False), 'subitems7': FieldInfo(annotation=Union[list[Subitem7], NoneType], required=False), 'subitems8': FieldInfo(annotation=Union[list[Subitem8], NoneType], required=False), 'subitems9': FieldInfo(annotation=Union[list[Subitem9], NoneType], required=False), 'subsections': FieldInfo(annotation=Union[list[Subsection], NoneType], required=False), 'valign': XmlEntityInfo(annotation=Union[Literal['top', 'middle', 'bottom'], NoneType], required=False, location=<EntityLocation.ATTRIBUTE: 2>, path='Valign')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TableHeaderColumn(*, raw_element: _Element)¶
Bases:
TaggedText
表欄名
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TableHeaderRow(*, table_header_column_raw: _Element | None = None)¶
Bases:
WithTableHeaderColumns
表欄名項
- table_header_columns¶
表欄名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'table_header_column_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TableHeaderColumn')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TableRow(*, table_columns: list[TableColumn])¶
Bases:
BaseXmlModel
表項
- table_columns¶
表欄
- Type:
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'table_columns': FieldInfo(annotation=list[TableColumn], required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TableStruct(*, table_struct_title_raw: _Element | None = None, pre_remarks: list[Remarks] | None = None, table: Table, post_remarks: list[Remarks] | None = None)¶
Bases:
WithTableStructTitle
表項目
- table_struct_title¶
表項目名
- pre_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- table¶
表
- post_remarks¶
備考
- Type:
list[ja_law_parser.model.Remarks] | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'post_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'pre_remarks': FieldInfo(annotation=Union[list[Remarks], NoneType], required=False), 'table': FieldInfo(annotation=Table, required=True), 'table_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TableStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TableStructTitle(*, raw_element: _Element)¶
Bases:
WithWritingMode
表項目名
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TaggedText(*, raw_element: _Element)¶
Bases:
BaseXmlModel
タグ付きテキスト
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.Text(*, text: str)¶
Bases:
BaseXmlModel
テキスト
- text¶
テキスト
- Type:
str
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'text': FieldInfo(annotation=str, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.TextP(*args, **kwargs)¶
Bases:
Protocol
- class ja_law_parser.model.TextsP(*args, **kwargs)¶
Bases:
Protocol
- class ja_law_parser.model.WithAppdxFigTitle(*, appdx_fig_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- appdx_fig_title¶
別記様式名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_fig_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxFigTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithAppdxFormatTitle(*, appdx_format_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- appdx_format_title¶
別記書式名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_format_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxFormatTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithAppdxNoteTitle(*, appdx_note_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- appdx_note_title¶
別表名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_note_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxNoteTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithAppdxStyleTitle(*, appdx_style_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- appdx_style_title¶
別記様式名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_style_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxStyleTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithAppdxTableTitle(*, appdx_table_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- appdx_table_title¶
別表名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'appdx_table_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='AppdxTableTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithArithFormulaNum(*, arith_formula_num_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- arith_formula_num¶
算式番号
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'arith_formula_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArithFormulaNum')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithArticleCaption(*, article_caption_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
条見出し
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_caption_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleCaption')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithArticleRange(*, article_range_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- article_range¶
条範囲
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_range_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleRange')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithArticleTitle(*, article_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- article_title¶
条名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ArticleTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithChapterTitle(*, chapter_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- chapter_title¶
章名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'chapter_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ChapterTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithClassTitle(*, class_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- class_title¶
類名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'class_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ClassTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithDivisionTitle(*, division_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- division_title¶
目名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'division_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='DivisionTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithEnactStatement(*, enact_statement_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- enact_statement¶
制定文
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'enact_statement_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='EnactStatement')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithFigStructTitle(*, fig_struct_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- fig_struct_title¶
図項目名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'fig_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='FigStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithFormatStructTitle(*, format_struct_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- format_struct_title¶
書式項目名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'format_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='FormatStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithItemTitle(*, item_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- item_title¶
号名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'item_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ItemTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithLawTitle(*, law_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- law_title¶
題名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'law_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='LawTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithNoteStructTitle(*, note_struct_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- note_struct_title¶
記項名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'note_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='NoteStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithParagraphCaption(*, paragraph_caption_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
項見出し
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'paragraph_caption_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='ParagraphCaption')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithParagraphNum(*, paragraph_num_raw: _Element = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- paragraph_num¶
項番号
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'paragraph_num_raw': XmlEntityInfo(annotation=_Element, required=False, location=<EntityLocation.ELEMENT: 1>, path='ParagraphNum')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithPartTitle(*, part_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- part_title¶
編名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'part_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='PartTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithRelatedArticleNum(*, related_article_num_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
関係条文番号
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'related_article_num_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RelatedArticleNum')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithRemarksLabel(*, remarks_label_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- remarks_label¶
備考ラベル
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'remarks_label_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='RemarksLabel')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSectionTitle(*, section_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- section_title¶
節名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'section_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SectionTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSentences(*, sentence_raw: list[_Element] | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- sentences¶
段
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'sentence_raw': XmlEntityInfo(annotation=Union[list[_Element], NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Sentence')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithStyleStructTitle(*, style_struct_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- style_struct_title¶
様式項目名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'style_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='StyleStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem10Title(*, subitem10_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem10_title¶
号細分10名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem10_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem10Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem1Title(*, subitem1_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem1_title¶
号細分名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem1_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem1Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem2Title(*, subitem2_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem2_title¶
号細分2名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem2_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem2Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem3Title(*, subitem3_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem3_title¶
号細分3名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem3_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem3Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem4Title(*, subitem4_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem4_title¶
号細分4名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem4_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem4Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem5Title(*, subitem5_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem5_title¶
号細分5名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem5_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem5Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem6Title(*, subitem6_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem6_title¶
号細分6名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem6_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem6Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem7Title(*, subitem7_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem7_title¶
号細分7名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem7_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem7Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem8Title(*, subitem8_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem8_title¶
号細分8名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem8_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem8Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubitem9Title(*, subitem9_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subitem9_title¶
号細分9名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subitem9_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='Subitem9Title')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSubsectionTitle(*, subsection_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- subsection_title¶
款名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'subsection_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SubsectionTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSupplNote(*, suppl_note_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- suppl_note¶
付記
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'suppl_note_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplNote')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSupplNotes(*, suppl_notes_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- suppl_notes¶
付記
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'suppl_notes_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplNote')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSupplProvisionAppdxStyleTitle(*, suppl_provision_appdx_style_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- suppl_provision_appdx_style_title¶
附則様式名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'suppl_provision_appdx_style_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionAppdxStyleTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSupplProvisionAppdxTableTitle(*, suppl_provision_appdx_table_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- suppl_provision_appdx_table_title¶
附則別表名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'suppl_provision_appdx_table_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionAppdxTableTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithSupplProvisionLabel(*, suppl_provision_label_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- suppl_provision_label¶
附則ラベル
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'suppl_provision_label_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='SupplProvisionLabel')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithTOCAppdxTableLabels(*, toc_appdx_table_labels_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- toc_appdx_table_labels¶
目次別表ラベル
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'toc_appdx_table_labels_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TOCAppdxTableLabel')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithTableHeaderColumns(*, table_header_column_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- table_header_column¶
表欄名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'table_header_column_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TableHeaderColumn')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithTableStructTitle(*, table_struct_title_raw: _Element | None = None)¶
Bases:
BaseXmlModel
A mixin class to add the below attribute.
- table_struct_title¶
表項目名
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'table_struct_title_raw': XmlEntityInfo(annotation=Union[_Element, NoneType], required=False, location=<EntityLocation.ELEMENT: 1>, path='TableStructTitle')}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class ja_law_parser.model.WithWritingMode(*, raw_element: _Element)¶
Bases:
TaggedText
A mixin class to add the below attribute.
- writing_mode¶
行送り方向(”vertical”:縦書き、”horizontal”:横書き)
- tagged_text¶
タグ付きテキスト
- text¶
テキスト文字列
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'raw_element': FieldInfo(annotation=_Element, required=True, exclude=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.