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

Feature request: File attachments #391

Open
markborkum opened this issue Sep 16, 2021 · 0 comments
Open

Feature request: File attachments #391

markborkum opened this issue Sep 16, 2021 · 0 comments
Labels
feature Adding new functionality to BuildingSync

Comments

@markborkum
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Some building assessment standards require applicants to attach data files to their submissions. For example, the Integrated Physical Needs Assessment template requires applicants to attach photographs of premises, plants, and systems.

Describe the solution you'd like

A mechanism to describe an arbitrary number of file attachments for premises, plants, and systems.

The description for a file attachment should include:

  • The file name and description;
  • The file MIME type;
  • The file size and checksum; and
  • The file URL and/or encoded blob data.

For example, in the <auc:Building> element:

<auc:Building ID="Building-1">
  <!-- ... -->
  <auc:Files>
    <auc:File ID="File-1">
      <auc:FileName>north.png</auc:FileName>
      <auc:FileDescription>View of north face of building</auc:FileDescription>
      <auc:FileContentType>image/png</auc:FileContentType>
      <auc:FileSize>1024</auc:FileSize>
      <auc:FileSHA1Checksum>2fd4e1c67a2d28fced849ee1bb76e7391b93eb12</auc:FileSHA1Checksum>
      <auc:FileURL>https://www.example.com/buildings/1/north.png</auc:FileURL>
    </auc:File>
  </auc:Files>
  <!-- ... -->
</auc:Building>

Describe alternatives you've considered

Internal to the BuildingSync XML document, file attachments can be associated with premises, plants, and systems using user-defined fields.

External to the BuildingSync XML document, file attachments can be associated with arbitrary BuildingSync XML elements using their "ID" attributes.

Additional context

No additional context.

@markborkum markborkum added the feature Adding new functionality to BuildingSync label Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality to BuildingSync
Projects
None yet
Development

No branches or pull requests

1 participant