user: IDS Version: IFC2X3 IFC4
filename: row-0066.ids

For the Main Government Office Building BIM model, I want to check before delivery whether the project information is entered according to the MLIT standard attribute list (Common information).  

For the main building IfcBuilding, check whether the following 4 items are entered as expected: 
1. Construction name = "Reiwa 7 Fiscal Year Main Government Office Building Reconstruction Work" (blank not allowed) 
2. Client name = "Prefectural Government Office" (blank not allowed) 
3. Building use classification = "Office" (blank not allowed) 
4. Total floor area = 12000 (numeric, unit is ㎡)  
Confirm that the strings match exactly, and that the total floor area is entered as the numeric value exactly 12000. Create an IDS that displays an error if there is a mismatch or if it is not entered.

assistant: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ids:ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd" xmlns:ids="http://standards.buildingsmart.org/IDS">
  <!--edit with ONESTRUCTION Inc.-->
  <ids:info>
    <ids:title>Main Government Office Building BIM model pre-delivery check_MLIT standard attribute list (Common information)</ids:title>
    <ids:description>For the main building IfcBuilding, confirm whether the construction name, client name, building use classification, and total floor area are entered according to the MLIT standard attribute list</ids:description>
  </ids:info>
  <ids:specifications>
    <ids:specification name="Main Government Office Building_Project information check" ifcVersion="IFC2X3 IFC4">
      <ids:applicability minOccurs="1" maxOccurs="unbounded">
        <ids:entity>
          <ids:name>
            <ids:simpleValue>IFCBUILDING</ids:simpleValue>
          </ids:name>
        </ids:entity>
      </ids:applicability>
      <ids:requirements>
        <ids:property cardinality="required" dataType="IFCLABEL">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Construction name</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <ids:simpleValue>Reiwa 7 Fiscal Year Main Government Office Building Reconstruction Work</ids:simpleValue>
          </ids:value>
        </ids:property>
        <ids:property cardinality="required" dataType="IFCLABEL">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Client name</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <ids:simpleValue>Prefectural Government Office</ids:simpleValue>
          </ids:value>
        </ids:property>
        <ids:property cardinality="required" dataType="IFCLABEL">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Building use classification</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <ids:simpleValue>Office</ids:simpleValue>
          </ids:value>
        </ids:property>
        <ids:property cardinality="required" dataType="IFCAREAMEASURE">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Total floor area</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <ids:simpleValue>12000</ids:simpleValue>
          </ids:value>
        </ids:property>
      </ids:requirements>
    </ids:specification>
  </ids:specifications>
</ids:ids>

user: Total floor area should be 12000 or more
XX Prefectural Government Office should be in regular expression

assistant: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ids:ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd" xmlns:ids="http://standards.buildingsmart.org/IDS">
  <!--edit with ONESTRUCTION Inc.-->
  <ids:info>
    <ids:title>Main Government Office Building BIM model pre-delivery check_MLIT standard attribute list (Common information)</ids:title>
    <ids:description>For the main building IfcBuilding, confirm whether the construction name, client name, building use classification, and total floor area are entered according to the MLIT standard attribute list</ids:description>
  </ids:info>
  <ids:specifications>
    <ids:specification name="Main Government Office Building_Project information check" ifcVersion="IFC2X3 IFC4">
      <ids:applicability minOccurs="1" maxOccurs="unbounded">
        <ids:entity>
          <ids:name>
            <ids:simpleValue>IFCBUILDING</ids:simpleValue>
          </ids:name>
        </ids:entity>
      </ids:applicability>
      <ids:requirements>
        <ids:property cardinality="required" dataType="IFCLABEL">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Construction name</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <ids:simpleValue>Reiwa 7 Fiscal Year Main Government Office Building Reconstruction Work</ids:simpleValue>
          </ids:value>
        </ids:property>
        <ids:property cardinality="required" dataType="IFCLABEL">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Client name</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <xs:restriction base="xs:string">
              <xs:pattern value=".*Prefectural Government Office"/>
            </xs:restriction>
          </ids:value>
        </ids:property>
        <ids:property cardinality="required" dataType="IFCLABEL">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Building use classification</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <ids:simpleValue>Office</ids:simpleValue>
          </ids:value>
        </ids:property>
        <ids:property cardinality="required" dataType="IFCAREAMEASURE">
          <ids:propertySet>
            <xs:restriction base="xs:string">
              <xs:pattern value="^(?!(Pset_|Qto_)).+"/>
            </xs:restriction>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>Total floor area</ids:simpleValue>
          </ids:baseName>
          <ids:value>
            <xs:restriction base="xs:double">
              <xs:minInclusive value="12000"/>
            </xs:restriction>
          </ids:value>
        </ids:property>
      </ids:requirements>
    </ids:specification>
  </ids:specifications>
</ids:ids>