Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OperationsTest.xsd to align with updated 950002 #101

Open
CharlieG021163 opened this issue Mar 3, 2020 · 1 comment
Open

Add OperationsTest.xsd to align with updated 950002 #101

CharlieG021163 opened this issue Mar 3, 2020 · 1 comment
Assignees
Labels
ERDi Issues that need to be fixed in ERDi version Medium MESA Issues that need to be fixed in MISA Version

Comments

@CharlieG021163
Copy link
Collaborator

CharlieG021163 commented Mar 3, 2020

Background
ERDi, MESA: Related to #7, #16 #17, #21, #24, #25, #95

  1. This new schema file, OperationsTest.xsd, includes 1) The types from TestSpecification.xsd, 2) TestResultType in Common.xsd, and 3) 1st order relationships from the Operations Test Model. It addresses the 1st order transactions for master data so that it aligns with updated 950002, new Operations Test Model, The Test Result object is a 1st order object that is exchanged and queried as part of the collaboration with OAGi.

  2. This schema replaces TestSpecification.xsd and TestResultType in Common Schema. B2MML 7.0 beta has the B2MML-TestSpecification.xsd schema and has complex types of TestResultType and TestPropertyMeasurementType in the Common Schema. These are to be deleted.

  3. B2MML 7.0 still has the TestResult element in each resource property for a master data instance per the old version of ISA-95 resource models and B2MML 6.0. This design has the logic issue that a test result is related to testing of a resource actual to a master data resource's test specification. The old resource models had a composite relationship which did not allow Test Result to be exchanged and queried as a 1st class object.
    The MESA Committee may reject this change in their implementation.
    The ERDi implementation will use this new xsd.

Supporting Standard

  1. Additions to TestResultType in OperationsTest.xsd (formerly in Common.xsd):
    950002, Clause 5.9.8 Test Result, Table 111 and 112
  2. Additions of TestResult element to Resource Actuals in OperationsPerformanceTypes.xsd:
    Clause 6.3.6 Personnel actual (Table 208)
    Clause 6.3.8 Equipment actual (Table 212)
    Clause 6.3.10 Physical asset actual (Table 216)
    Clause 6.3.12 Material actual (Table 220)

Impacted Type and Solutions

  1. TestSpecification.xsd DELETE schema. DONE

  2. Common.xsd
    -DELETE: complexType name = "TestResultType" DONE
    -DELETE: complexType name = "PropertyMeasurementType" DONE

  3. ADD: OperationsTest.xsd DONE

  4. OperationsTest.xsd, TestResultType
    To align with updated 950002 Operations Test Model's relationships.
    -ADD: TestableObjectID element DONE
    -ADD: OperationsTestRequirementID element DONE

  5. CommonExtensions.xsd
    -DELETE:
    <xsd:group name = "TestSpecification"> DONE
    <xsd:group name = "TestSpecificationProperty"> DONE
    <xsd:group name = "TestSpecificationInformation"> DONE
    <xsd:group name = "TestSpecificationCriteria"> DONE
    <xsd:group name = "TestSpecificationEvaluatedProperty"> DONE
    <xsd:group name = "TestResult"> DONE
    <xsd:group name = "TestPropertyMeasurement"> DONE

  6. B2MML Extensions.xsd
    -ADD:
    -- B2MML extension groups for OperationsTest schema --> DONE
    <xsd:group name = "OperationsTestInformation"> DONE
    xsd:sequence
    -- add extended elements here -->
    </xsd:sequence>
    </xsd:group>
    -ADD: with same code as above.
    <xsd:group name = "TestSpecification"> DONE
    <xsd:group name = "TestSpecificationProperty"> DONE
    <xsd:group name = "TestSpecificationInformation"> DONE
    <xsd:group name = "TestSpecificationCriteria"> DONE
    <xsd:group name = "EvaluatedProperty"> DONE
    <xsd:group name = "TestResult"> DONE
    <xsd:group name = "PropertyMeasurement"> DONE

  7. In all the following schema: DONE
    Equipment.xsd, Material.xsd, PhysicalAsset.xsd, Personnel.xsd, OperationsEvent.xsd, MasterDataProfile.xsd
    CHANGE:
    -- Include the Test Specification Schema -->
    xsd:include schemaLocation="B2MML-TestSpecification.xsd"/>
    TO:
    -- Include the OperationsTest Schema -->
    xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>

CharlieG021163 added a commit that referenced this issue Mar 3, 2020
CharlieG021163 added a commit that referenced this issue Mar 4, 2020
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
-DELETE: complexType name = "TestResultType"
-DELETE: complexType name = "PropertyMeasurementType"
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
-DELETE:
<xsd:group name = "TestSpecification">
<xsd:group name = "TestSpecificationProperty">
<xsd:group name = "TestSpecificationInformation">
<xsd:group name = "TestSpecificationCriteria">
<xsd:group name = "TestSpecificationEvaluationedProperty">
<xsd:group name = "TestResult">
<xsd:group name = "TestPropertyMeasurement">
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
-ADD:
-- B2MML extension groups for OperationsTest schema -->
<xsd:group name = "OperationsTestInformation">
<xsd:group name = "TestSpecification">
<xsd:group name = "TestSpecificationProperty">
<xsd:group name = "TestSpecificationInformation">
<xsd:group name = "TestSpecificationCriteria">
<xsd:group name = "EvaluatedProperty">
<xsd:group name = "TestResult">
<xsd:group name = "PropertyMeasurement">
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
CHANGE:
-- Include the Test Specification Schema -->
xsd:include schemaLocation="B2MML-TestSpecification.xsd"/>
TO:
-- Include the Operations Test Schema -->
xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
CHANGE:  xsd:include schemaLocation="B2MML-TestSpecification.xsd"/>
TO:  xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
CHANGE:
-- Include the Test Specification Schema -->
xsd:include schemaLocation="B2MML-TestSpecification.xsd"/>
TO:
-- Include the OperationsTest Schema -->
xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
CHANGE:
-- Include the Test Specification Schema -->
xsd:include schemaLocation="B2MML-TestSpecification.xsd"/>
TO:
-- Include the Operations Test Schema -->
xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>
CharlieG021163 added a commit that referenced this issue Mar 9, 2020
CHANGE:
-- Include the Test Specification Schema -->
xsd:include schemaLocation="B2MML-TestSpecification.xsd"/>
TO:
-- Include the OperationsTest Schema -->
xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>
CharlieG021163 referenced this issue Mar 9, 2020
CHANGE:
-- Include the Test Specification Schema -->
xsd:include schemaLocation="B2MML-Test Specification.xsd"/>
TO:
-- Include the OperationsTest Schema -->
xsd:include schemaLocation="B2MML-OperationsTest.xsd"/>
@CharlieG021163 CharlieG021163 added ERDi Issues that need to be fixed in ERDi version Medium MESA Issues that need to be fixed in MISA Version labels Mar 10, 2020
@CharlieG021163 CharlieG021163 added this to the AgreedByWorkingGroup milestone Mar 10, 2020
@Dennis-Brandl
Copy link

agreed

@terryrankine terryrankine removed this from the AuthorisedForMESASubmission milestone Apr 21, 2020
@terryrankine terryrankine added this to the AcceptedByMESA milestone Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ERDi Issues that need to be fixed in ERDi version Medium MESA Issues that need to be fixed in MISA Version
Projects
None yet
Development

No branches or pull requests

4 participants